Skip to content

Commit

Permalink
Replacing 'create' trigger for 'push' in Step 0 (#86)
Browse files Browse the repository at this point in the history
* Replacing 'create' trigger for 'push'

The 'create' trigger does not get picked up once you create a repository from a template. Instead, the 'push' trigger should be used here for this purpose.

* Adding main branch filter for trigger
  • Loading branch information
RelicCornhusk committed Apr 30, 2024
1 parent 5a55e0b commit 9ac889a
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion .github/workflows/0-welcome.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,9 @@ name: Step 0, Welcome
# This will run every time we create push a commit to `main`.
# Reference: https://docs.github.com/en/actions/learn-github-actions/events-that-trigger-workflows
on:
create:
push:
branches:
- main
workflow_dispatch:

# Reference: https://docs.github.com/en/actions/security-guides/automatic-token-authentication
Expand Down

0 comments on commit 9ac889a

Please sign in to comment.