Skip to content

Commit 886921d

Browse files
TrottBethGriggs
authored andcommitted
build: add paths-ignore for build-tarball workflow
In GitHub Actions, don't run build-tarball if the only changed files are docs. PR-URL: #40109 Reviewed-By: Antoine du Hamel <[email protected]> Reviewed-By: Michael Dawson <[email protected]> Reviewed-By: James M Snell <[email protected]>
1 parent 9c76c69 commit 886921d

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

.github/workflows/build-tarball.yml

+10
Original file line numberDiff line numberDiff line change
@@ -3,12 +3,22 @@ name: Build from tarball
33
on:
44
pull_request:
55
types: [opened, synchronize, reopened, ready_for_review]
6+
paths-ignore:
7+
- '.mailmap'
8+
- '**.md'
9+
- 'AUTHORS'
10+
- 'doc/**'
611
push:
712
branches:
813
- master
914
- main
1015
- v[0-9]+.x-staging
1116
- v[0-9]+.x
17+
paths-ignore:
18+
- '.mailmap'
19+
- '**.md'
20+
- 'AUTHORS'
21+
- 'doc/**'
1222

1323
env:
1424
FLAKY_TESTS: dontcare

0 commit comments

Comments
 (0)