-
Notifications
You must be signed in to change notification settings - Fork 1.9k
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
workflows
permission requested on tag creation
#1421
Comments
No update after close to one year? |
I've encountered this same issue, and see lots of references to it with no obvious solution. Issues that relate to it seem to remain without reply. My scenario is that I have a workflow that contains the following jobs:
My production environment is protected, so requires approval. If any commits are made to
|
I believe this might be the root cause: https://github.com/orgs/community/discussions/151442 |
I note you fall in case similar to our one. You are forcing push. After I removed this, everything was fine for us. |
We are able to reproduce the issue without force push—thank you though |
When we allow parallel execution of a workflow, which is activated on branch push event, and branch that triggered workflow contains changes related to any workflow yaml file stored in /.github/workflows code base directory, push tag action fails with error:
! [remote rejected] v0.0.3-106.1 -> v0.0.3-106.1 (refusing to allow a GitHub App to create or update workflow.github/workflows/continuous-master.yamlwithoutworkflows permission) error: failed to push some refs to 'https://github.com/[REPO_NAME]
Here is simple repository with workflow that reproduce the issue: https://github.com/nenad-kosanovic-tam/update-workflow-tag-action-flat/tree/master
Initially this issue is reported on gitHub support, from where we are redirected here.
The text was updated successfully, but these errors were encountered: