Skip to content

Control permissions does not allow adding workflow files #26583

Discussion options

You must be logged in to vote

Hi @stefanbuck! I believe this is expected behaviour for this permission. Changing these permissions allows you to scope how much you can interact with the API of the underlying GitHub App, but this app doesn’t have the scope required to update workflow files without the workflow permission, which isn’t currently configurable here. The actions permission currently allows you to interact with various aspects of workflows on your repository, but doesn’t allow you to update workflow files.

If you need your workflow to be able to create or modify workflow files then you’ll need to continue to use a PAT that has the workflow permision.

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
2 participants