From 54b993d3c0a9728235aa1c3621bdf7ddcaf18bda Mon Sep 17 00:00:00 2001 From: Rory Abraham Date: Tue, 16 Mar 2021 16:50:02 -0700 Subject: [PATCH 1/2] Use workflow if instead of bash if --- .github/workflows/preDeploy.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/preDeploy.yml b/.github/workflows/preDeploy.yml index 6ae711f6957a..8be8805d3f2d 100644 --- a/.github/workflows/preDeploy.yml +++ b/.github/workflows/preDeploy.yml @@ -70,7 +70,8 @@ jobs: # TODO: Remove once we know that automerge doesn't infinitely loop with this action - name: Quit early - run: if [[ ${{ steps.checkCurrentVersion.outputs.CURRENT_VERSION == '1.0.2-60' }} ]]; then exit 1; fi; + if: ${{ steps.checkCurrentVersion.outputs.CURRENT_VERSION == '1.0.2-60 }} + run: exit 1 - uses: softprops/turnstyle@8db075d65b19bf94e6e8687b504db69938dc3c65 with: From f88991709253ac1bb89825a7953138df17f370d0 Mon Sep 17 00:00:00 2001 From: Rory Abraham Date: Tue, 16 Mar 2021 16:56:09 -0700 Subject: [PATCH 2/2] Add closing ' --- .github/workflows/preDeploy.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/preDeploy.yml b/.github/workflows/preDeploy.yml index 8be8805d3f2d..6840bbe2a168 100644 --- a/.github/workflows/preDeploy.yml +++ b/.github/workflows/preDeploy.yml @@ -70,7 +70,7 @@ jobs: # TODO: Remove once we know that automerge doesn't infinitely loop with this action - name: Quit early - if: ${{ steps.checkCurrentVersion.outputs.CURRENT_VERSION == '1.0.2-60 }} + if: ${{ steps.checkCurrentVersion.outputs.CURRENT_VERSION == '1.0.2-60' }} run: exit 1 - uses: softprops/turnstyle@8db075d65b19bf94e6e8687b504db69938dc3c65