Skip to content

Commit

Permalink
👷 cicd: 라벨 체크 조건문 수정
Browse files Browse the repository at this point in the history
  • Loading branch information
froggy1014 committed Aug 17, 2024
1 parent 4cbac39 commit ead93b3
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/chromatic.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/pr_test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/preview.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit ead93b3

Please sign in to comment.