-
Notifications
You must be signed in to change notification settings - Fork 235
Push not triggering workflow #32
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
Comments
Yes, push using standard GitHub Token not trigger workflow. It is GitHub design to avoid infinity triggers loop. |
Push and any other actions by GitHub Action eg.comments not trigger GitHub Action. |
Oh I see, any tips on how to circumvent this limitation then? I see that they don't want infinite triggers but it is also very limiting at the same time. |
I don't tested, but let's try Personal Access Token in GitHub Action. |
@ad-m it worked! When using a personal token to push instead of the default GitHub Token available in the action it triggers the other workflow! Amazing! |
Does this still work? I have a workflow where I push with a private access token and it doesn't seem to trigger a new CI build. Maybe github changed the behavior? |
For some reason pushing with personal token works in one of my repositories, but not the other. Config seems to be the same |
@Kubitomakita if you are using the checkout action, try giving it your PAT as well. |
Thanks for the hint @rokroskar ! Turned out it works as expected with |
So giving the PAT to |
Haven't tested giving PAT to |
Ah ok - because I think in |
I can confirm that using the PAT in the |
Use personal access token in checkout action as well as the push. ad-m/github-push-action#32
GitHub Action Token not trigger other workflows It is GitHub design to avoid infinity triggers loop. See: ad-m/github-push-action#32 Log:
I have two branches in my repo, "master" and "branch2". I also have two separate workflows, one for each branch, and each of them is triggered by a push on that specific branch. The thing is that I am using this action here inside master's workflow to push some changes to "branch2". The push is working very well, but the problem is that it is not triggering the workflow on "branch2" as it should, while pushing manually from github does. What might be the issue?
The text was updated successfully, but these errors were encountered: