Skip to content

Commit fcce37b

Browse files
authored
ci: add concurrency groups to workflows (#31)
Add concurrency configuration to CI and release-please workflows to prevent duplicate runs on the same branch/PR.
1 parent 1e3adc8 commit fcce37b

2 files changed

Lines changed: 8 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]
88

9+
concurrency:
10+
group: ${{ github.workflow }}-${{ github.ref }}
11+
cancel-in-progress: true
12+
913
env:
1014
TURBO_TOKEN: ${{ secrets.TURBO_TOKEN }}
1115
TURBO_TEAM: ${{ secrets.TURBO_TEAM }}

.github/workflows/release-please.yml

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

8+
concurrency:
9+
group: ${{ github.workflow }}-${{ github.ref }}
10+
cancel-in-progress: false
11+
812
permissions:
913
contents: write
1014
pull-requests: write

0 commit comments

Comments
 (0)