Skip to content

Github actions workflow not triggering with tag push #27028

Answered by Yanjingzhu
rach1416 asked this question in Actions
Discussion options

You must be logged in to vote

Do you have two workflows, one with an action to push new tags and the other be triggered by tag creation ? Which token do you use in the first action to create new tag?

There is a limitation of workflow: An action in a workflow run can’t trigger a new workflow run.

When you use GITHUB_TOKEN in your actions, all of the interactions with the repository are on behalf of the Github-actions bot. The operations act by Github-actions bot cannot trigger a new workflow run.

You can go to releases page to see the user who released a release.

I would suggest you use your own PAT when creating tags. You can store your PAT in secrets and use

${{ secrets.PATNAME } in you…

Replies: 11 comments 13 replies

Comment options

You must be logged in to vote
3 replies
@shamim-progton
Comment options

@wparad
Comment options

@airtower-luna
Comment options

Answer selected
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
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
3 replies
@thejeff77
Comment options

@sousadiego11
Comment options

@piotrekkr
Comment options

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
1 reply
@infogulch
Comment options

Comment options

You must be logged in to vote
6 replies
@piotrekkr
Comment options

@wparad
Comment options

@piotrekkr
Comment options

@wparad
Comment options

@sousadiego11
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet