Skip to content

Commit f69d233

Browse files
committed
ci(actions): add concurrency + path filter
- Add concurrency.cancel-in-progress to kill duplicate runs. - Skip CI on **.md, docs/**, LICENSE changes.
1 parent 7bfb5e3 commit f69d233

1 file changed

Lines changed: 12 additions & 0 deletions

File tree

.github/workflows/ci.yml

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,12 +2,24 @@ name: CI
22
on:
33
push:
44
branches: [main]
5+
paths-ignore:
6+
- '**.md'
7+
- 'docs/**'
8+
- 'LICENSE'
59
pull_request:
610
branches: [main]
11+
paths-ignore:
12+
- '**.md'
13+
- 'docs/**'
14+
- 'LICENSE'
715
schedule:
816
# Weekly nox sweep — catches new CVEs in deps even when no commits land.
917
- cron: '17 6 * * 1'
1018

19+
concurrency:
20+
group: ${{ github.workflow }}-${{ github.ref }}
21+
cancel-in-progress: true
22+
1123
permissions:
1224
contents: read
1325
security-events: write

0 commit comments

Comments
 (0)