Skip to content

GitHub-actions bot not triggering Actions #33804

Closed Answered by airtower-luna
jonny-harte asked this question in Actions
Discussion options

You must be logged in to vote

How do I get a workflow to initiate when github-actions bot adds a label to a PR?

If you use the GITHUB_TOKEN to authorize the labeling, you can't:

When you use the repository's GITHUB_TOKEN to perform tasks, events triggered by the GITHUB_TOKEN, with the exception of workflow_dispatch and repository_dispatch, will not create a new workflow run.

What you can do is create PAT, store it as a secret, and use that instead. Then things will work as if you added the label manually.

Replies: 1 comment 2 replies

Comment options

You must be logged in to vote
2 replies
@figroc
Comment options

@airtower-luna
Comment options

Answer selected by jonny-harte
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
3 participants