Skip to content

Commit 848bbe9

Browse files
committed
Add concurrency control to lint workflow
1 parent 092d485 commit 848bbe9

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

.github/workflows/lint.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,9 @@ env:
99
CI: 'true'
1010
DO_NOT_TRACK: '1'
1111
NEXT_TELEMETRY_DISABLED: '1'
12+
concurrency:
13+
group: ${{ github.workflow }}-${{ github.ref }}
14+
cancel-in-progress: ${{ github.ref != 'refs/heads/main' }}
1215

1316
jobs:
1417
lint:

0 commit comments

Comments
 (0)