Skip to content

Commit 6c9bcc7

Browse files
christophfroehlichmergify[bot]
authored andcommitted
Improve paths filtering of docs CI job (#847)
(cherry picked from commit e64fed9)
1 parent 14abe71 commit 6c9bcc7

File tree

2 files changed

+23
-0
lines changed

2 files changed

+23
-0
lines changed

.github/workflows/humble-check-docs.yml

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,20 @@ on:
77
- humble
88
paths:
99
- '**.rst'
10+
- '**.md'
11+
- '**.jpg'
12+
- '**.jpeg'
13+
- '**.png'
14+
- '**.svg'
15+
- '**.yml'
16+
- '**.yaml'
17+
- '!.github/**' # exclude yaml files in .github directory
1018
- '.github/workflows/humble-check-docs.yml'
1119

20+
concurrency:
21+
group: ${{ github.workflow }}-${{ github.ref }}
22+
cancel-in-progress: true
23+
1224
jobs:
1325
check-docs:
1426
name: Check Docs

.github/workflows/rolling-check-docs.yml

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,19 @@ on:
77
- master
88
paths:
99
- '**.rst'
10+
- '**.md'
11+
- '**.jpg'
12+
- '**.jpeg'
13+
- '**.png'
14+
- '**.svg'
15+
- '**.yml'
16+
- '**.yaml'
17+
- '!.github/**' # exclude yaml files in .github directory
1018
- '.github/workflows/rolling-check-docs.yml'
1119

20+
concurrency:
21+
group: ${{ github.workflow }}-${{ github.ref }}
22+
cancel-in-progress: true
1223

1324
jobs:
1425
check-docs-rolling:

0 commit comments

Comments
 (0)