Open
Description
Hi @caarlos0,
Currently i had to deactivate the branch protection rules
for the main branch, as I need to push the next version of the plugin to the main branch. I use the gh-action-bump-version
plugin to update the package.json
Logs from the action:
✖ fatal remote: error: GH006: Protected branch update failed for refs/heads/main.
remote: error: Changes must be made through a pull request.
To https://github.com/goreleaser/goreleaser-azure-devops-extension.git
! [remote rejected] main -> main (protected branch hook declined)
error: failed to push some refs to 'https://github.com/***/***-azure-devops-extension.git'
git exited with code 1
✖ fatal Failed to bump version
Question:
Can you create a new PAT with bypass policy and save it to the secret with the name: ACTION_GITHUB_TOKEN
. I will then change the pipeline steps to use this PAT token.
Thanks!
Metadata
Metadata
Assignees
Labels
No labels