pull requests triggered from actions don't trigger other actions #57484
-
Select Topic AreaBug BodyI have the following workflow that is triggered on all pull requests, and all pushes except to on:
workflow_dispatch: {}
pull_request: {}
push:
branches-ignore:
- "main" It runs correctly when I push a branch from my laptop, or when a PR is created from a user fork. Some actions can also push new branches (to the same repository) and create PRs for them:
However, these PRs don't trigger that workflow. I have to close and re-open the PR in order for the workflow to be triggered correctly. I wonder if this is a bug, or if there is a way I can debug why are they not triggered when the PR is opened for the first time. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 3 replies
-
Do you use the
If you want to run workflows from those events, you'll need to provide a PAT. |
Beta Was this translation helpful? Give feedback.
Do you use the
GITHUB_TOKEN
for those actions? In that case it'll never trigger a workflow run:If you want to run workflows from those events, you'll need to provide a PAT.