Skip to content

Latest commit

 

History

History
19 lines (10 loc) · 1.02 KB

File metadata and controls

19 lines (10 loc) · 1.02 KB

Step 5: Merge and experiment

Great job! You have created and tested your first GitHub Actions workflow! 🚀

📖 Theory: When workflows run

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.

⌨️ Activity: Merging your pull request

  1. Merge your pull request into the main branch.

  2. (Optional) Try opening another pull request to see your workflow run again!