Skip to content

Commit 9ad1bb0

Browse files
committed
Limit concurrency on GitHub Actions
1 parent ab4d069 commit 9ad1bb0

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

.github/workflows/ci.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,10 @@ on:
55
- main
66
pull_request:
77

8+
concurrency:
9+
group: ${{ github.workflow }}-${{ github.ref_name }}-${{ github.event.pull_request.number || github.sha }}
10+
cancel-in-progress: true
11+
812
jobs:
913
fmt:
1014
runs-on: "ubuntu-latest"

0 commit comments

Comments
 (0)