Security considerations: ids are strings, not integers (#400)
Fix doc regarding using assertion on IDs rather than names. They refer to IDs as integers, where those are actually strings, so we need to quote them. I lost too many hours on this to let anyone else experience the same issue :D Signed-off-by: Joachim Jablon <ewjoachim@gmail.com>
This commit is contained in:
parent
55bd3a7c6e
commit
33e827c6cc
@ -40,7 +40,7 @@ curl -sfL -H "Accept: application/json" "https://api.github.com/repos/${REPO}" |
|
||||
These can be used in an Attribute Condition:
|
||||
|
||||
```cel
|
||||
assertion.repository_owner_id == 1342004 && assertion.repository_id == 260064828
|
||||
assertion.repository_owner_id == '1342004' && assertion.repository_id == '260064828'
|
||||
```
|
||||
|
||||
[cybersquatting]: https://en.wikipedia.org/wiki/Cybersquatting
|
||||
|
Loading…
Reference in New Issue
Block a user