Skip to content

Commit

Permalink
remove contributors
Browse files Browse the repository at this point in the history
  • Loading branch information
assignUser committed Jan 15, 2024
1 parent 1a622ec commit c0301b4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion dev/archery/archery/bot.py
Original file line number Diff line number Diff line change
Expand Up @@ -280,7 +280,7 @@ def handle_issue_comment(self, command, payload):
# https://developer.github.com/v4/enum/commentauthorassociation/
# Checking privileges here enables the bot to respond
# without relying on the handler.
allowed_roles = {'OWNER', 'MEMBER', 'CONTRIBUTOR', 'COLLABORATOR'}
allowed_roles = {'OWNER', 'MEMBER', 'COLLABORATOR'}
if payload['comment']['author_association'] not in allowed_roles:
raise EventError(
"Only contributors can submit requests to this bot. "
Expand Down

0 comments on commit c0301b4

Please sign in to comment.