Version bumping working on local repository but not in Github actions #171
Unanswered
yarnabrina
asked this question in
Q&A
Replies: 1 comment 1 reply
-
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 I may need to write up something in the docs... |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hello, I am trying to learn how to automate the version bumping process. I followed the documentation and locally both
pyproject.toml
and my other configured files are getting updated correctly. However when I try to use this is Github Actions, it is failing with some git issues.This is my current configuration:
And this is the error I am getting on Github job:
I have enabled verbose flag and ensured that it is running on a non-default branch so that pre-commit related restrictions should not apply. But these seem to be insufficient.
Can someone please suggest with this problem?
Beta Was this translation helpful? Give feedback.
All reactions