Closed
Description
Associated GitHub Community: https://github.community/t/workflow-run-not-working-as-expected/139342
According to the docs about the workflow_run
event, we can use the workflow_run
event to trigger another workflow after a workflow run is requested or completed.
According to our tests, the workflow_run
event can trigger the workflow only when the workflow file
is on the default branch
. However, we can't see any note about this point in the docs.
We can see the below note for some events (such as issues, label, etc.) in the docs:
Note: This event will only trigger a workflow run if the workflow file is on the default branch.
But why you did not add the same Note for the workflow_run
event. This Note also is applied to the workflow_run
event.