Great job! You have created and tested your first GitHub Actions workflow! 🚀
When you create a workflow in a branch, it is only enabled for that branch until you merge it into the default branch (main). When a workflow is in the default branch it applies to the entire repository.
Every new pull request regardless of branch will now automatically trigger the workflow you created.
Tip
Some event triggers, like workflow_dispatch and schedule will only work if the workflow file exists in default branch.
-
Merge your pull request into the
mainbranch. -
(Optional) Try opening another pull request to see your workflow run again!