Skip to content

GitHub Actions: add more details for "workflow_run" event #799

Closed
@BrightRan

Description

@BrightRan

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.

Metadata

Metadata

Assignees

Labels

actionsThis issue or pull request should be reviewed by the docs actions teamcontentThis issue or pull request belongs to the Docs Content teamecosystemThis issue or pull request should be reviewed by the Docs Ecosystem team

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions