Skip to content

Commit 8b6de0f

Browse files
committed
ci: set concurrency group for workflows
It is now to costly to run the full CI, so we need to limit the number of concurrent runs to avoid blocking the queue.
1 parent 62ac345 commit 8b6de0f

File tree

2 files changed

+6
-0
lines changed

2 files changed

+6
-0
lines changed

Diff for: .github/workflows/ci.yml

+3
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,9 @@ on:
1010
pull_request:
1111
branches:
1212
- '**'
13+
concurrency:
14+
group: ${{ github.workflow }}-${{ github.ref }}
15+
cancel-in-progress: true
1316
jobs:
1417
build:
1518
runs-on: ubuntu-latest

Diff for: .github/workflows/publish.yml

+3
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,9 @@ on:
55
tags:
66
- 'v*' # Push events to matching v*, i.e. v1.0, v20.15.10
77

8+
concurrency:
9+
group: ${{ github.workflow }}-${{ github.ref }}
10+
811
jobs:
912
release:
1013
# Use Publish environment for deployment protection

0 commit comments

Comments
 (0)