From 67bbb51d7a23e6b6cb06fabc3706b7f3ac09932f Mon Sep 17 00:00:00 2001 From: Kin Fei Lee Date: Sat, 23 Dec 2023 20:06:24 +0800 Subject: [PATCH] ci: fix pipeline condition --- .github/workflows/pipeline.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/pipeline.yml b/.github/workflows/pipeline.yml index 42fce09..03d3afc 100644 --- a/.github/workflows/pipeline.yml +++ b/.github/workflows/pipeline.yml @@ -13,7 +13,7 @@ jobs: steps: - name: Check if it's a repository creation event run: | - if [ "${{ github.event_name }}" == 'push' ] && [ "${{ github.actor }}/${{ github.repository }}" != "express-api-template" ]; then + if [ "${{ github.event_name }}" == 'push' ] && [ "${{ github.repository }}" != "${{ github.actor }}/express-api-template" ]; then echo "Stopping job because it's a repository creation event." exit 78 # This will exit the script and stop the job fi