diff --git a/.github/workflows/chromatic.yml b/.github/workflows/chromatic.yml index 05e6434..b5809a6 100644 --- a/.github/workflows/chromatic.yml +++ b/.github/workflows/chromatic.yml @@ -12,7 +12,7 @@ on: jobs: chromatic: - if: ${{ github.event.pull_request.labels.*.name != 'skip-build' }} + if: ${{ !contains(github.event.pull_request.labels.*.name, 'skip-build') }} name: Run Chromatic Deployment # Operating System runs-on: ubuntu-latest diff --git a/.github/workflows/pr_test.yaml b/.github/workflows/pr_test.yaml index 4fd7cb6..73647c6 100644 --- a/.github/workflows/pr_test.yaml +++ b/.github/workflows/pr_test.yaml @@ -7,7 +7,7 @@ on: jobs: build: - if: ${{ github.event.pull_request.labels.*.name != 'skip-build' }} + if: ${{ !contains(github.event.pull_request.labels.*.name, 'skip-build') }} uses: ./.github/workflows/_build.yaml with: NODE_VERSION: 20.x diff --git a/.github/workflows/preview.yml b/.github/workflows/preview.yml index 29f0bb4..eea9fd3 100644 --- a/.github/workflows/preview.yml +++ b/.github/workflows/preview.yml @@ -12,7 +12,7 @@ on: jobs: Deploy-Preview: - if: ${{ github.event.pull_request.labels.*.name != 'skip-build' }} + if: ${{ !contains(github.event.pull_request.labels.*.name, 'skip-build') }} runs-on: ubuntu-latest steps: - uses: actions/checkout@v2