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
github-token clarification… #109
Comments
Hi @ygworldr, sadly I'm not quite sure yet on how to fix this. There is this medium article that describes it on how to achieve this. |
I do not use an automatic build on commit to main, instead, I use the manual way to kick an action. This means I can remove protection, launch the action, and re-create protection as soon as the release is done. A little clunky but not too bad. |
Would deploy keys, issue #115, resolve this? I think it could be a cleaner workaround. |
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. |
If it can save anyone some time, at this date you still have to use your PAT on the checkout step also, and not only on the |
I have a protected main branch with admins allowed to push and a private token from an admin account set as
github-token: ${{ secrets.ADMIN_RELEASE_TOKEN }}
. However, when running the action, I get:The token I use has
delete:packages, repo, write:packages
permissions. Should it have more or did I find a bug?The text was updated successfully, but these errors were encountered: