Skip to content

API workflow_dispatch not running in workflow #25685

Answered by shrink
arendondiosa asked this question in Actions
Discussion options

You must be logged in to vote

The default token available to a GitHub Action (GITHUB_TOKEN) cannot trigger other Actions.

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
Using the GITHUB_TOKEN in a workflow

The reason this works locally is that you’re authenticated as yourself, so for this to work inside a GitHub Action you’ll need to use a Personal Access Token instead.

Replies: 2 comments

Comment options

You must be logged in to vote
0 replies
Answer selected
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