Skip to content

Workflow not showing and not triggered by release #26875

Answered by BrightRan
tcurdt asked this question in Actions
Discussion options

You must be logged in to vote

@tcurdt ,

According to the introduction from the docs about the GITHUB_TOKEN:

When you use the repository’s GITHUB_TOKEN to perform tasks on behalf of the GitHub Actions app, events triggered by the GITHUB_TOKEN will not create a new workflow run. This prevents you from accidentally creating recursive workflow runs.

Due to you are using the GITHUB_TOKEN to authenticate on the action to create the new release, the workflow can’t be triggered on the release event.

If you want the workflow can be triggered when creating a new release via the action, you need to create a personal access token (PAT) and set it as a secret in your repository. Then use this PAT to authenticate on the action. M…

Replies: 4 comments

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Answer selected
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
2 participants