From 2aeaf47ae085c5e524d2545e49fb15e742102c79 Mon Sep 17 00:00:00 2001 From: "Christopher C. Wells" Date: Sat, 5 Nov 2022 16:56:21 -0700 Subject: [PATCH] Fix workflow conditional syntax --- .github/workflows/review-app.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/review-app.yml b/.github/workflows/review-app.yml index fb559463..611bb257 100644 --- a/.github/workflows/review-app.yml +++ b/.github/workflows/review-app.yml @@ -10,7 +10,7 @@ jobs: environment: name: pr-${{ github.event.pull_request.number }} url: https://pr-${{ github.event.pull_request.number }}.dokku.baby-buddy.net - if: github.event_name == 'labeled' && github.event.label.name == 'to review' + if: ${{ github.event_name == 'labeled' && github.event.label.name == 'to review' }} steps: - uses: actions/checkout@v3 with: @@ -27,7 +27,7 @@ jobs: environment: name: pr-${{ github.event.pull_request.number }} url: https://pr-${{ github.event.pull_request.number }}.dokku.baby-buddy.net - if: github.event_name == 'unlabeled' && github.event.label.name == 'to review' + if: ${{ github.event_name == 'unlabeled' && github.event.label.name == 'to review' }} steps: - name: Destroy review app uses: dokku/github-action@master