Skip to content

Commit f1b8d9c

Browse files
authored
Don't build and run tests for docs-only changes. (#1275)
* Don't build for docs-only changes. Signed-off-by: gregmarr <[email protected]> * Don't run tests for docs-only changes. Signed-off-by: gregmarr <[email protected]> --------- Signed-off-by: gregmarr <[email protected]>
1 parent 2949161 commit f1b8d9c

File tree

2 files changed

+8
-8
lines changed

2 files changed

+8
-8
lines changed

.github/workflows/build-cppfront.yaml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
11
name: Multi-platform Build of cppfront
22
on:
33
pull_request:
4-
branches-ignore:
5-
- docs
4+
paths-ignore:
5+
- 'docs/**'
66
push:
7-
branches-ignore:
8-
- docs
7+
paths-ignore:
8+
- 'docs/**'
99
workflow_dispatch:
1010

1111
jobs:

.github/workflows/regression-tests.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,11 +2,11 @@ name: Regression tests
22

33
on:
44
pull_request:
5-
branches-ignore:
6-
- docs
5+
paths-ignore:
6+
- 'docs/**'
77
push:
8-
branches-ignore:
9-
- docs
8+
paths-ignore:
9+
- 'docs/**'
1010
workflow_dispatch:
1111

1212
jobs:

0 commit comments

Comments
 (0)