-
Notifications
You must be signed in to change notification settings - Fork 67
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Reduce usage of admin token #545
Conversation
Okay, it turns out this truly isn't possible if branch protections are on. You get something like:
Even if the user running the workflow is an admin. https://github.com/blink1073/test-python-project/actions/runs/7521308670/job/20471980190 |
Back to the drawing board:
|
TODO: remove |
Is there any way to get the current workflows to work while branch protections are enabled? I can't seem to get it working since skipping just the commit with the changelog and package.json update is coupled with the new tag push. |
Hi @ElioDiNino, if you ADMIN_GITHUB_TOKEN has admin permissions on the repo and you haven't selected this option it should work: |
Hmm okay, I will try disabling that thanks. I am actually using a GitHub app and generating a token for it in place of using a PAT so that may also be causing issues |
This picked up some conflicts and has some work that needs to be removed, going to start a fresh PR. |
publish_release