Skip to content

Commit c332c1a

Browse files
author
greweb
committed
add concurrency control to cancel previous runs
New pushes will automatically cancel running workflows to save resources
1 parent f11a162 commit c332c1a

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

.github/workflows/ci.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,10 @@ on:
66
pull_request:
77
branches: [main, master]
88

9+
concurrency:
10+
group: ${{ github.workflow }}-${{ github.ref }}
11+
cancel-in-progress: true
12+
913
jobs:
1014
lint-and-type-check:
1115
name: Code Quality (Strict)

0 commit comments

Comments
 (0)