Skip to content

Commit efa0339

Browse files
ci: concurrency cancel-in-progress on 4 workflows missing it (#469)
Same pattern as proven#115 / ephapax#248 / typed-wasm#120. 4 affinescript workflows without concurrency: release, publish-jsr, affine-vscode-publish, instant-sync. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-authored-by: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
1 parent 9074c20 commit efa0339

4 files changed

Lines changed: 16 additions & 0 deletions

File tree

.github/workflows/affine-vscode-publish.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,10 @@ on:
2626
permissions:
2727
contents: read
2828

29+
concurrency:
30+
group: ${{ github.workflow }}-${{ github.ref }}
31+
cancel-in-progress: true
32+
2933
jobs:
3034
publish:
3135
runs-on: ubuntu-latest

.github/workflows/instant-sync.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,10 @@ on:
1111
permissions:
1212
contents: read
1313

14+
concurrency:
15+
group: ${{ github.workflow }}-${{ github.ref }}
16+
cancel-in-progress: true
17+
1418
jobs:
1519
dispatch:
1620
runs-on: ubuntu-latest

.github/workflows/publish-jsr.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,10 @@ permissions:
3434
contents: read
3535
id-token: write # JSR OIDC; no token secret needed
3636

37+
concurrency:
38+
group: ${{ github.workflow }}-${{ github.ref }}
39+
cancel-in-progress: true
40+
3741
jobs:
3842
publish:
3943
runs-on: ubuntu-latest

.github/workflows/release.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,10 @@ on:
2727
permissions:
2828
contents: write
2929

30+
concurrency:
31+
group: ${{ github.workflow }}-${{ github.ref }}
32+
cancel-in-progress: true
33+
3034
jobs:
3135
prepare:
3236
runs-on: ubuntu-latest

0 commit comments

Comments
 (0)