From 9ac889a6fe59d63441af0569d480023a2f074819 Mon Sep 17 00:00:00 2001 From: Vitor <84695648+RelicCornhusk@users.noreply.github.com> Date: Tue, 30 Apr 2024 16:29:10 -0400 Subject: [PATCH] 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 --- .github/workflows/0-welcome.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.github/workflows/0-welcome.yml b/.github/workflows/0-welcome.yml index 3c78f41..513691e 100644 --- a/.github/workflows/0-welcome.yml +++ b/.github/workflows/0-welcome.yml @@ -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