Skip to content

Commit 8be3b91

Browse files
Trottnodejs-github-bot
authored andcommitted
build: exclude markdown files from some GitHub Actions
Ignore all markdown files when determining if test-asan, coverage-*, and test-macos need to run. Refs: https://docs.github.com/en/actions/reference/workflow-syntax-for-github-actions#patterns-to-match-file-paths PR-URL: #39565 Reviewed-By: Michaël Zasso <[email protected]> Reviewed-By: Richard Lau <[email protected]> Reviewed-By: James M Snell <[email protected]> Reviewed-By: Luigi Pinca <[email protected]> Reviewed-By: Colin Ihrig <[email protected]> Reviewed-By: Tobias Nießen <[email protected]>
1 parent b0a6ade commit 8be3b91

File tree

4 files changed

+16
-8
lines changed

4 files changed

+16
-8
lines changed

.github/workflows/coverage-linux.yml

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,18 +4,20 @@ on:
44
pull_request:
55
types: [opened, synchronize, reopened, ready_for_review]
66
paths-ignore:
7-
- 'doc/**'
8-
- 'deps/**'
7+
- '**.md'
98
- 'benchmark/**'
9+
- 'deps/**'
10+
- 'doc/**'
1011
- 'tools/**'
1112
push:
1213
branches:
1314
- master
1415
- main
1516
paths-ignore:
16-
- 'doc/**'
17-
- 'deps/**'
17+
- '**.md'
1818
- 'benchmark/**'
19+
- 'deps/**'
20+
- 'doc/**'
1921
- 'tools/**'
2022

2123
env:

.github/workflows/coverage-windows.yml

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,18 +4,20 @@ on:
44
pull_request:
55
types: [opened, synchronize, reopened, ready_for_review]
66
paths-ignore:
7-
- 'doc/**'
8-
- 'deps/**'
7+
- '**.md'
98
- 'benchmark/**'
9+
- 'deps/**'
10+
- 'doc/**'
1011
- 'tools/**'
1112
push:
1213
branches:
1314
- master
1415
- main
1516
paths-ignore:
16-
- 'doc/**'
17-
- 'deps/**'
17+
- '**.md'
1818
- 'benchmark/**'
19+
- 'deps/**'
20+
- 'doc/**'
1921
- 'tools/**'
2022

2123
env:

.github/workflows/test-asan.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,10 +9,12 @@ on:
99
- v[0-9]+.x-staging
1010
- v[0-9]+.x
1111
paths-ignore:
12+
- '**.md'
1213
- 'doc/**'
1314
pull_request:
1415
types: [opened, synchronize, reopened, ready_for_review]
1516
paths-ignore:
17+
- '**.md'
1618
- 'doc/**'
1719

1820
env:

.github/workflows/test-macos.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@ on:
44
pull_request:
55
types: [opened, synchronize, reopened, ready_for_review]
66
paths-ignore:
7+
- '**.md'
78
- 'doc/**'
89
push:
910
branches:
@@ -13,6 +14,7 @@ on:
1314
- v[0-9]+.x-staging
1415
- v[0-9]+.x
1516
paths-ignore:
17+
- '**.md'
1618
- 'doc/**'
1719

1820
env:

0 commit comments

Comments
 (0)