Open Achllle opened 1 year ago
@int128 any ideas? EDIT: I thought it might have to do with the fact that we're using forks and so I pushed the same branch to the target repository to see if that would make it succeed but it failed as well.
I could reproduce this problem in the following context:
Since GITHUB_TOKEN
of the upstream repository does not have a permission to write the head branch, it fails.
I think it is possible to fallback to create a follow-up pull request in this case.
I'm getting a permission denied error (log here) even though settings > actions > general > permissions for both the fork and the target repo are set to 'read and write'.
If instead I push directly to the target branch, the worflow runs and asks to create a PR, which when merged makes the follow-up workflow complete successfully.
Any help on what might be going on is appreciated. Worflow file here.