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
  • Loading branch information
Trott committed Jul 28, 2021
1 parent 3f0b623 commit 0674261
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 4 deletions.
5 changes: 3 additions & 2 deletions .github/workflows/coverage-linux.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,9 +13,10 @@ on:
- master
- main
paths-ignore:
- 'doc/**'
- 'deps/**'
- '**.md'
- 'benchmark/**'
- 'deps/**'
- 'doc/**'
- 'tools/**'

env:
Expand Down
5 changes: 3 additions & 2 deletions .github/workflows/coverage-windows.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,9 +13,10 @@ on:
- master
- main
paths-ignore:
- 'doc/**'
- 'deps/**'
- '**.md'
- 'benchmark/**'
- 'deps/**'
- 'doc/**'
- 'tools/**'

env:
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/test-asan.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ on:
pull_request:
types: [opened, synchronize, reopened, ready_for_review]
paths-ignore:
- '**.md'
- 'doc/**'

env:
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/test-macos.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ on:
- v[0-9]+.x-staging
- v[0-9]+.x
paths-ignore:
- '**.md'
- 'doc/**'

env:
Expand Down

0 comments on commit 0674261

Please sign in to comment.