workflow: allow gholms to trigger backport comment commands (#4206) `gholms` contributes fixes that need backporting to release branches, but lacks repository collaborator permissions to run slash commands. Add `gholms` to the backport user allowlist so they can trigger `/backport` commands on pull requests and release tracking issues.
diff --git a/.github/workflows/on_comment.py b/.github/workflows/on_comment.py index 53087f1..2687972 100755 --- a/.github/workflows/on_comment.py +++ b/.github/workflows/on_comment.py
@@ -120,7 +120,11 @@ _ALLOWED_AUTHOR_ASSOCIATIONS = frozenset({"OWNER", "MEMBER", "COLLABORATOR"}) -_BACKPORT_ALLOWED_USERS: frozenset[str] = frozenset([]) +_BACKPORT_ALLOWED_USERS: frozenset[str] = frozenset( + [ + "gholms", + ] +) def _is_command_allowed(