Skip to content

Commit

Permalink
build: exclude markdown files from some GitHub Actions
Browse files Browse the repository at this point in the history
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]>
  • Loading branch information
Trott authored and targos committed Sep 4, 2021
1 parent fd2146b commit c696f97
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/test-asan.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,10 +9,12 @@ on:
- v[0-9]+.x-staging
- v[0-9]+.x
paths-ignore:
- '**.md'
- 'doc/**'
pull_request:
types: [opened, synchronize, reopened, ready_for_review]
paths-ignore:
- '**.md'
- 'doc/**'

env:
Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/test-macos.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ on:
pull_request:
types: [opened, synchronize, reopened, ready_for_review]
paths-ignore:
- '**.md'
- 'doc/**'
push:
branches:
Expand All @@ -13,6 +14,7 @@ on:
- v[0-9]+.x-staging
- v[0-9]+.x
paths-ignore:
- '**.md'
- 'doc/**'

env:
Expand Down

0 comments on commit c696f97

Please sign in to comment.