Skip to content

Commit fc7dc41

Browse files
authored
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.
1 parent cd5a1e9 commit fc7dc41

1 file changed

Lines changed: 5 additions & 1 deletion

File tree

‎.github/workflows/on_comment.py‎

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -120,7 +120,11 @@ class _Command(enum.StrEnum):
120120

121121

122122
_ALLOWED_AUTHOR_ASSOCIATIONS = frozenset({"OWNER", "MEMBER", "COLLABORATOR"})
123-
_BACKPORT_ALLOWED_USERS: frozenset[str] = frozenset([])
123+
_BACKPORT_ALLOWED_USERS: frozenset[str] = frozenset(
124+
[
125+
"gholms",
126+
]
127+
)
124128

125129

126130
def _is_command_allowed(

0 commit comments

Comments
 (0)