diff --git a/.github/workflows/build-qa-tag.yaml b/.github/workflows/build-qa-tag.yaml index e61dd500..258c014e 100644 --- a/.github/workflows/build-qa-tag.yaml +++ b/.github/workflows/build-qa-tag.yaml @@ -29,7 +29,8 @@ jobs: name: Build and push QA image for PR runs-on: ubuntu-22.04-arm # Run when labeled with "PR: Ready for QA" - if: contains(github.event.pull_request.labels.*.name, 'PR: Ready for QA') + if: >- + ${{ contains(github.event.pull_request.labels.*.name, 'PR: Ready for QA') }} permissions: packages: write contents: read diff --git a/.github/workflows/cleanup-qa-tag.yaml b/.github/workflows/cleanup-qa-tag.yaml index acc00950..363a5a6a 100644 --- a/.github/workflows/cleanup-qa-tag.yaml +++ b/.github/workflows/cleanup-qa-tag.yaml @@ -9,9 +9,9 @@ jobs: cleanup: name: Delete QA image tag from GHCR runs-on: ubuntu-latest - if: | - (github.event.action == 'closed' && contains(github.event.pull_request.labels.*.name, 'PR: Ready for QA')) || - (github.event.action == 'unlabeled' && github.event.label.name == 'PR: Ready for QA') + if: >- + ${{ (github.event.action == 'closed' && contains(github.event.pull_request.labels.*.name, 'PR: Ready for QA')) || + (github.event.action == 'unlabeled' && github.event.label.name == 'PR: Ready for QA') }} permissions: packages: write steps: