Open
Description
Hi!
Could you please clarify changes in releases between 2.0.3 and 2.0.6?
Until version 2.0.4 we used to have following in our workflow(which uses App Token to push to protected branch)
permission-metadata: read
permission-contents: write
But after 2nd of May(versions 2.0.4 - 2.0.6) this stopped working and workflow started to fail with
Error: The git-push command failed.
Error: Command output:
Error: [ERROR] remote: error: GH006: Protected branch update failed for refs/heads/main.
However if we remove permission-* setting(so token inherits all permissions), then it works again.
Now, I'm a bit confused: is it we who did it wrong before v2.0.4, or something broke in the latest releases?
Metadata
Metadata
Assignees
Labels
No labels