Add concurrency groups to CI and mark-stable workflows
Introduce explicit concurrency settings to the CI and mark-stable workflows to serialize runs per repository and ref. This prevents overlapping executions for the same branch or tag and makes pipeline behavior more predictable during rapid pushes. https://chatgpt.com/share/6988bef0-1a0c-800f-93df-7a6c1bdc0331
This commit is contained in:
4
.github/workflows/ci.yml
vendored
4
.github/workflows/ci.yml
vendored
@@ -6,6 +6,10 @@ on:
|
|||||||
- main
|
- main
|
||||||
pull_request:
|
pull_request:
|
||||||
|
|
||||||
|
concurrency:
|
||||||
|
group: global-ci-${{ github.repository }}-${{ github.ref_name }}
|
||||||
|
cancel-in-progress: false
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
test-unit:
|
test-unit:
|
||||||
uses: ./.github/workflows/test-unit.yml
|
uses: ./.github/workflows/test-unit.yml
|
||||||
|
|||||||
4
.github/workflows/mark-stable.yml
vendored
4
.github/workflows/mark-stable.yml
vendored
@@ -1,5 +1,9 @@
|
|||||||
name: Mark stable commit
|
name: Mark stable commit
|
||||||
|
|
||||||
|
concurrency:
|
||||||
|
group: mark-${{ github.repository }}-${{ github.ref_name }}
|
||||||
|
cancel-in-progress: false
|
||||||
|
|
||||||
on:
|
on:
|
||||||
push:
|
push:
|
||||||
branches:
|
branches:
|
||||||
|
|||||||
Reference in New Issue
Block a user