Skip to content
Discussion options

You must be logged in to vote

Your workflow-level permissions look correct. This error is most likely coming from a separate repository setting rather than the Updatecli manifest.

Go to Repository Settings → Actions → General → Workflow permissions and enable Allow GitHub Actions to create and approve pull requests.

The contents: write permission explains why Updatecli can create and push the branch. The pull-requests: write permission gives the token the required PR API permission, but it cannot override that repository-level restriction. GitHub disables PR creation by Actions by default for new personal repositories.

After enabling the setting, rerun the apply job. If the option is disabled or unavailable because an…

Replies: 1 comment 5 replies

Comment options

You must be logged in to vote
5 replies
@kastl-ars
Comment options

@kastl-ars
Comment options

@AnkanMisra
Comment options

@kastl-ars
Comment options

@kastl-ars
Comment options

Answer selected by kastl-ars
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants