Skip to content

Workflow trigger "On issue opened" is now working when issue opened programmatically #24953

Discussion options

You must be logged in to vote

The difference is because you’re using the GITHUB_TOKEN to programmatically create the issue, see Using the GITHUB_TOKEN in a workflow:

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.

If you want the second workflow to run, you’ll need to use a PAT in the first workflow.

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