Troubleshooting
Last updated
Was this helpful?
Last updated
Was this helpful?
Applying branch protection to the main
or master
branch can break semantic-release in our auto-release GitHub workflows by preventing the library from pushing changes to the protected branch.
This can be fixed by following these instructions:
Two things I needed to change to make treetracker-admin-client work were:
Pass persist-credentials: false
to actions/checkout@v2
as a with:
value
Create a personal access token and assign it to a repo secret named GH_TOKEN
that is passed to the semantic-release env.