From 7d275a46a084e7e404ac414f8fc7e7bd47cb2819 Mon Sep 17 00:00:00 2001 From: bquan0 Date: Sun, 20 Aug 2023 20:37:14 -0500 Subject: [PATCH] fix if statement syntax 2 --- .github/workflows/variablesTest.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/variablesTest.yml b/.github/workflows/variablesTest.yml index d9366e7..1acc228 100644 --- a/.github/workflows/variablesTest.yml +++ b/.github/workflows/variablesTest.yml @@ -20,7 +20,7 @@ jobs: echo ${{ github.event_name }} - name: Check for DOCKER_IMAGE_TAG change - if: $GITHUB_EVENT_NAME == 'pull_request' + if: github.event_name == 'pull_request' run: echo ":refs_heads_${GITHUB_HEAD_REF}-bk0" >> $env.DOCKER_IMAGE_TAG - name: Echo DOCKER_IMAGE_TAG again