Skip to content

Commit b0a6962

Browse files
authored
Add concurrency settings to CI workflows for improved job management (#47)
* Add concurrency settings to CI workflows for improved job management * Add maintenance section to release notes for CI concurrency settings
1 parent 4742497 commit b0a6962

4 files changed

Lines changed: 17 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
- cron: '0 6 * * 6'
77
workflow_dispatch:
88

9+
concurrency:
10+
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.run_id }}
11+
cancel-in-progress: true
12+
913
jobs:
1014
test-smoke:
1115
name: Smoke tests (${{ matrix.os }}, ${{ matrix.python-version }})

.github/workflows/docs.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,11 @@ on:
88
'main'
99
schedule:
1010
- cron: '0 6 * * 6'
11+
12+
concurrency:
13+
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.run_id }}
14+
cancel-in-progress: true
15+
1116
jobs:
1217
build:
1318
runs-on: ubuntu-latest

.github/workflows/security.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,10 @@ on:
88
- cron: '30 6 * * 1'
99
workflow_dispatch:
1010

11+
concurrency:
12+
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.run_id }}
13+
cancel-in-progress: true
14+
1115
permissions:
1216
actions: read
1317
contents: read

docs/about/release-notes.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,10 @@ The current members of the MkDocs-NG team.
3131
* Fix malformed URLs (e.g., unterminated IPv6 literals) crashing the entire build. #45
3232
* Fix build crash caused by broken (dangling) symlinks in the docs directory. #46
3333

34+
### Maintenance
35+
36+
* Add concurrency settings to CI workflows so redundant in-progress jobs are cancelled when new pushes occur. #47
37+
3438
## Version 1.7.1 (2026-04-25)
3539

3640
### Fixed

0 commit comments

Comments
 (0)