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: https://github.com/nodejs/node/pull/39565
Reviewed-By: Michaël Zasso <targos@protonmail.com>
Reviewed-By: Richard Lau <rlau@redhat.com>
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Reviewed-By: Tobias Nießen <tniessen@tnie.de>
This commit is contained in:
Rich Trott 2021-07-28 06:35:58 -07:00 committed by Node.js GitHub Bot
parent b0a6ade3bd
commit 8be3b91b00
4 changed files with 16 additions and 8 deletions

View File

@ -4,18 +4,20 @@ on:
pull_request:
types: [opened, synchronize, reopened, ready_for_review]
paths-ignore:
- 'doc/**'
- 'deps/**'
- '**.md'
- 'benchmark/**'
- 'deps/**'
- 'doc/**'
- 'tools/**'
push:
branches:
- master
- main
paths-ignore:
- 'doc/**'
- 'deps/**'
- '**.md'
- 'benchmark/**'
- 'deps/**'
- 'doc/**'
- 'tools/**'
env:

View File

@ -4,18 +4,20 @@ on:
pull_request:
types: [opened, synchronize, reopened, ready_for_review]
paths-ignore:
- 'doc/**'
- 'deps/**'
- '**.md'
- 'benchmark/**'
- 'deps/**'
- 'doc/**'
- 'tools/**'
push:
branches:
- master
- main
paths-ignore:
- 'doc/**'
- 'deps/**'
- '**.md'
- 'benchmark/**'
- 'deps/**'
- 'doc/**'
- 'tools/**'
env:

View File

@ -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:

View File

@ -4,6 +4,7 @@ on:
pull_request:
types: [opened, synchronize, reopened, ready_for_review]
paths-ignore:
- '**.md'
- 'doc/**'
push:
branches:
@ -13,6 +14,7 @@ on:
- v[0-9]+.x-staging
- v[0-9]+.x
paths-ignore:
- '**.md'
- 'doc/**'
env: