Skip to content

Commit

Permalink
disable chromatic if PR has "disabe-chromatic" label
Browse files Browse the repository at this point in the history
  • Loading branch information
sirineJ committed Dec 17, 2024
1 parent 6b3e8eb commit 58f0bd2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/chromatic.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ concurrency:

jobs:
chromatic:
if: ${{ !startsWith(github.ref, 'refs/heads/dependabot/') || !startsWith(github.triggering_actor, 'dependabot') }}
if: ${{ (!startsWith(github.ref, 'refs/heads/dependabot/') || !startsWith(github.triggering_actor, 'dependabot')) && !contains(github.event.pull_request.labels.*.name, 'disabe-chromatic ')}}
runs-on: ubuntu-latest
steps:
- name: Checkout repository
Expand Down

0 comments on commit 58f0bd2

Please sign in to comment.