Repository navigation
Commit ce7d23e
committed
check: name the fifth way a bypass list goes unverifiable
`_bypass_actors_above_bot` also returns None when a `User` actor's id has
nothing to compare against — `_user_id(bot_name)` 404s — so a `bot_name`
that isn't a real login lands on a message naming only causes that aren't
theirs. `check_bot_permission` doesn't call it out either, so nothing in
`tend check` points at the config.
Both copies of the sentence get it: `_policy_gate`'s tags reason and
`check_branch_protection`'s ruleset reason read the same helper's None,
and the point of matching their wording is that they stay matched.1 parent 932922c commit ce7d23e
1 file changed
Lines changed: 6 additions & 4 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
208 | 208 | | |
209 | 209 | | |
210 | 210 | | |
211 | | - | |
212 | | - | |
| 211 | + | |
| 212 | + | |
| 213 | + | |
213 | 214 | | |
214 | 215 | | |
215 | 216 | | |
| |||
926 | 927 | | |
927 | 928 | | |
928 | 929 | | |
929 | | - | |
930 | | - | |
| 930 | + | |
| 931 | + | |
| 932 | + | |
931 | 933 | | |
932 | 934 | | |
933 | 935 | | |
| |||
0 commit comments