Workflow trigger "On issue opened" is now working when issue opened programmatically #24953
-
I am trying to do the scenario:
The problem - Second workflow is not triggered, however, an issue is created When I manually tries to create the issue, Second workflow triggers succesfully |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments
-
The difference is because you’re using the
If you want the second workflow to run, you’ll need to use a PAT in the first workflow. |
Beta Was this translation helpful? Give feedback.
-
Your suggestion helped me. Thank you! |
Beta Was this translation helpful? Give feedback.
The difference is because you’re using the
GITHUB_TOKEN
to programmatically create the issue, see Using theGITHUB_TOKEN
in a workflow:If you want the second workflow to run, you’ll need to use a PAT in the first workflow.