From 5d782c41b3358b9fa2719439ed80440b05fd0a5c Mon Sep 17 00:00:00 2001 From: Avinash Verma Date: Tue, 17 Dec 2024 10:46:14 +0000 Subject: [PATCH] chore: add concurrency --- .github/workflows/visual-regression.yml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.github/workflows/visual-regression.yml b/.github/workflows/visual-regression.yml index e8b046117..8457bbf5e 100644 --- a/.github/workflows/visual-regression.yml +++ b/.github/workflows/visual-regression.yml @@ -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 }}