Run Workflows triggered by a GitHub Action #27039
-
Hi, I have two workflows:
The second workflow does not run, as it is triggered by a GitHub action. Is there a way to force the second workflow to run? Thanks! |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments
-
I assume the issue is that the first workflow pushes the tag using You might also be able to use a |
Beta Was this translation helpful? Give feedback.
-
airtower-luna:
Exactly!
airtower-luna:
I use the docker meta action, so the whole point is having a tag event. Thanks for the pointer though! |
Beta Was this translation helpful? Give feedback.
-
airtower-luna:
This is what I ended up doing. Thank you! Edit: Anyone with a similar issue should probably read this as well: Action does not trigger another on push tag action |
Beta Was this translation helpful? Give feedback.
I assume the issue is that the first workflow pushes the tag using
GITHUB_TOKEN
? The direct route would be to use a PAT for the Git push operation instead, in that case the second workflow should run.You might also be able to use a
workflow_run
event to start the second workflow, but in that case you need to somehow figure out which new tag has been created, assuming the name matters, so this approach might be more complicated.