Skip to content

Version bumping working on local repository but not in Github actions #171

Answered by coordt
yarnabrina asked this question in Q&A
Discussion options

You must be logged in to vote

I think the issue is that, by default, GitHub actions does not have permission to commit or push the commits back to the repo.

While, I am not an expert on GitHub Actions, I created a personal access token with Repo capabilities. That token is passed into the workflow in the repo's Settings -> Secrets and Variables -> Actions section under "Repository Secrets"

To deal with the pre-commit restrictions, I also use commit_args = "--no-verify" in the configuration

I may need to write up something in the docs...

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@yarnabrina
Comment options

Answer selected by coordt
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