Skip to content

Using workflow_run in pull requests from non-default branches or forks #72097

Discussion options

You must be logged in to vote

https://docs.github.com/en/actions/using-workflows/events-that-trigger-workflows#workflow_run

The workflow_run event only works on the default branch.

instead of using workflow_run, look at using reusable workflows. Then in your code quality workflow, if everything works there, you would call a reusable workflow to do the testing.

Replies: 2 comments 2 replies

Comment options

You must be logged in to vote
0 replies
Answer selected by yarnabrina
Comment options

You must be logged in to vote
2 replies
@Hotell
Comment options

@Hotell
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Actions Build, test, and automate your deployment pipeline with world-class CI/CD Question
4 participants