Skip to content

Commit c33bdab

Browse files
authored
MINOR: [Archery] Add collaborators to list of roles with access to trigger bot tasks (apache#14727)
I've been added as triager but now if I try to trigger crossbow tasks they fail with permissions issues: apache#14715 (comment) ``` Only contributors can submit requests to this bot. Please ask someone from the community for help with getting the first commit in. The Archery job run can be found at: https://github.com/apache/arrow/actions/runs/3539688563 ``` This should fix the issue Authored-by: Raúl Cumplido <raulcumplido@gmail.com> Signed-off-by: Antoine Pitrou <antoine@python.org>
1 parent 25ca62a commit c33bdab

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

dev/archery/archery/bot.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -143,7 +143,7 @@ def handle_issue_comment(self, command, payload):
143143
# https://developer.github.com/v4/enum/commentauthorassociation/
144144
# Checking privileges here enables the bot to respond
145145
# without relying on the handler.
146-
allowed_roles = {'OWNER', 'MEMBER', 'CONTRIBUTOR'}
146+
allowed_roles = {'OWNER', 'MEMBER', 'CONTRIBUTOR', 'COLLABORATOR'}
147147
if payload['comment']['author_association'] not in allowed_roles:
148148
raise EventError(
149149
"Only contributors can submit requests to this bot. "

0 commit comments

Comments
 (0)