Skip to content

Commit

Permalink
chore: add concurrency
Browse files Browse the repository at this point in the history
  • Loading branch information
Avinash Verma committed Dec 17, 2024
1 parent 3433c90 commit 5d782c4
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions .github/workflows/visual-regression.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,10 @@ permissions:
contents: read
pull-requests: write

concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true

jobs:
visual-regression:
if: ${{ github.event_name == 'pull_request' && contains(github.event.pull_request.labels.*.name, 'visual-regression') || true }}
Expand Down

0 comments on commit 5d782c4

Please sign in to comment.