Commit bfe7557
committed
fix: filter boolean values from trusted-committers allowlist
Python's bool is a subclass of int, so YAML true/false would pass
the isinstance(entry, (str, int, float)) check and become
"true"/"false" strings in the allowlist. Added explicit bool
exclusion.
Assisted-by: Claude <noreply@anthropic.com>
Signed-off-by: rnetser <rnetser@redhat.com>1 parent f488f9f commit bfe7557
1 file changed
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1002 | 1002 | | |
1003 | 1003 | | |
1004 | 1004 | | |
1005 | | - | |
| 1005 | + | |
1006 | 1006 | | |
1007 | 1007 | | |
1008 | 1008 | | |
| |||
0 commit comments