Skip to content

On: Issues: not firing when Issue is Created by Another Action #26989

Discussion options

You must be logged in to vote

@anthonyherman ,

When you create an issue in another workflow, do you use the GITHUB_TOKEN to authenticate? If so, it is a correct behavior that no workflow run triggered for the issues event.

There is a note you need to know, you also can reference the docs about authenticating with the GITHUB_TOKEN:

Events triggered by the GITHUB_TOKEN will not create a new workflow run, this prevents you from accidentally creating recursive workflow runs.

So, you should create a personal access token and set it as a secret in your repository, then use this personal access token to authenticate. But you also should avoid the recursive workflow runs.

Replies: 4 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
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
3 participants