-
-
Notifications
You must be signed in to change notification settings - Fork 63
Description
Hello! In the middle of yesterday (2021-09-21), our dispatch actions across multiple repositories suddenly started refusing to run when triggered by members of the repositories' admin teams, citing a permission level of none. There were no changes to our action configurations and no change to the teams as far as I can tell, but the solution was to directly add individual members of the admin team as admins on the repositories. As there were no changes to v2 of this action for the last 20 days, I'm guessing that GitHub quietly changed their permissions model yesterday, but I thought I would open this issue in for awareness or in case some one knows what is going on.
Failing action output from a member of the admin team running /destroy on a pull request:
Run peter-evans/slash-command-dispatch@v2
with:
token: ***
reaction-token: ***
commands: test
destroy
help
permission: maintain
issue-type: pull-request
event-type-suffix: -command
reactions: true
allow-edits: false
repository: hashicorp/terraform-azurerm-terraform-enterprise
dispatch-type: repository
Using configuration from yaml inputs.
Command 'destroy' is not configured for the user's permission level 'none'.
Passing action output from the same member added directly as an admin running /destroy on the same pull request:
Run peter-evans/slash-command-dispatch@v2
with:
token: ***
reaction-token: ***
commands: test
destroy
help
permission: maintain
issue-type: pull-request
event-type-suffix: -command
reactions: true
allow-edits: false
repository: hashicorp/terraform-azurerm-terraform-enterprise
dispatch-type: repository
Using configuration from yaml inputs.
Command 'destroy' to be dispatched.
Command 'destroy' dispatched to 'hashicorp/terraform-azurerm-terraform-enterprise' with event type 'destroy-command'.