From 9d4e36acc62d12d76ccca83e899b530b77f98ef6 Mon Sep 17 00:00:00 2001 From: Vitor <84695648+RelicCornhusk@users.noreply.github.com> Date: Fri, 12 Apr 2024 16:36:13 -0400 Subject: [PATCH 1/2] 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. --- .github/workflows/0-welcome.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/0-welcome.yml b/.github/workflows/0-welcome.yml index 3c78f41..4c0a6f0 100644 --- a/.github/workflows/0-welcome.yml +++ b/.github/workflows/0-welcome.yml @@ -6,7 +6,7 @@ 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: workflow_dispatch: # Reference: https://docs.github.com/en/actions/security-guides/automatic-token-authentication From 19fb411fa8bd902fe7173386f16db122b8e6b3fe Mon Sep 17 00:00:00 2001 From: Vitor <84695648+RelicCornhusk@users.noreply.github.com> Date: Mon, 15 Apr 2024 09:30:54 -0400 Subject: [PATCH 2/2] Adding main branch filter for trigger --- .github/workflows/0-welcome.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.github/workflows/0-welcome.yml b/.github/workflows/0-welcome.yml index 4c0a6f0..513691e 100644 --- a/.github/workflows/0-welcome.yml +++ b/.github/workflows/0-welcome.yml @@ -7,6 +7,8 @@ name: Step 0, Welcome # Reference: https://docs.github.com/en/actions/learn-github-actions/events-that-trigger-workflows on: push: + branches: + - main workflow_dispatch: # Reference: https://docs.github.com/en/actions/security-guides/automatic-token-authentication