diff options
author | Rich Trott <rtrott@gmail.com> | 2021-07-28 16:35:58 +0300 |
---|---|---|
committer | Node.js GitHub Bot <github-bot@iojs.org> | 2021-07-31 06:47:24 +0300 |
commit | 8be3b91b002f7dd838dbccf3aa0d5ed61ae84122 (patch) | |
tree | 14ee1befc04ea133a24a3f73797ca662ead65e00 | |
parent | b0a6ade3bd1be0bd2c60bf8d7a8652cdc75a4e59 (diff) |
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>
-rw-r--r-- | .github/workflows/coverage-linux.yml | 10 | ||||
-rw-r--r-- | .github/workflows/coverage-windows.yml | 10 | ||||
-rw-r--r-- | .github/workflows/test-asan.yml | 2 | ||||
-rw-r--r-- | .github/workflows/test-macos.yml | 2 |
4 files changed, 16 insertions, 8 deletions
diff --git a/.github/workflows/coverage-linux.yml b/.github/workflows/coverage-linux.yml index f628521bb7e..9cc17aa892d 100644 --- a/.github/workflows/coverage-linux.yml +++ b/.github/workflows/coverage-linux.yml @@ -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: diff --git a/.github/workflows/coverage-windows.yml b/.github/workflows/coverage-windows.yml index 5f515d1c24f..0f0072bfe6c 100644 --- a/.github/workflows/coverage-windows.yml +++ b/.github/workflows/coverage-windows.yml @@ -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: diff --git a/.github/workflows/test-asan.yml b/.github/workflows/test-asan.yml index 77839c314a5..2762a08fa10 100644 --- a/.github/workflows/test-asan.yml +++ b/.github/workflows/test-asan.yml @@ -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: diff --git a/.github/workflows/test-macos.yml b/.github/workflows/test-macos.yml index 686342f2f02..adcacc9b991 100644 --- a/.github/workflows/test-macos.yml +++ b/.github/workflows/test-macos.yml @@ -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: |