Skip to content

Commit 9ac889a

Browse files
Replacing 'create' trigger for 'push' in Step 0 (#86)
* 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
1 parent 5a55e0b commit 9ac889a

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

.github/workflows/0-welcome.yml

+3-1
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,9 @@ name: Step 0, Welcome
66
# This will run every time we create push a commit to `main`.
77
# Reference: https://docs.github.com/en/actions/learn-github-actions/events-that-trigger-workflows
88
on:
9-
create:
9+
push:
10+
branches:
11+
- main
1012
workflow_dispatch:
1113

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

0 commit comments

Comments
 (0)