Skip to content

Help with release triggers #144221

Closed Answered by Eddi-S
Eddi-S asked this question in Actions
Nov 11, 2024 · 4 comments · 1 reply
Discussion options

You must be logged in to vote

I finally figured out what was the problem since I was creating release for existing tags which does not trigger the events.
Info from copilot:
Creating a new tag during the release process triggers the published event, which in turn triggers the workflow. When you use an existing tag, GitHub considers the release as published at the time the tag was initially created. Therefore, it doesn't trigger the published event again, and the workflow doesn't run.

So, if you want your workflow to run on release creation, it's a good practice to create a new tag during the release process. This ensures that the published event is triggered and your workflow runs as expected.

Replies: 4 comments 1 reply

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
1 reply
@M-tech-cmd
Comment options

Answer selected by Eddi-S
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Actions Build, test, and automate your deployment pipeline with world-class CI/CD Question
3 participants