From c696f97c5ec2a4a26981fe78c47228eb0e042d44 Mon Sep 17 00:00:00 2001 From: Rich Trott Date: Wed, 28 Jul 2021 06:35:58 -0700 Subject: [PATCH] build: exclude markdown files from some GitHub Actions MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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 Reviewed-By: Richard Lau Reviewed-By: James M Snell Reviewed-By: Luigi Pinca Reviewed-By: Colin Ihrig Reviewed-By: Tobias Nießen --- .github/workflows/test-asan.yml | 2 ++ .github/workflows/test-macos.yml | 2 ++ 2 files changed, 4 insertions(+) diff --git a/.github/workflows/test-asan.yml b/.github/workflows/test-asan.yml index 90dd917d424de5..852b205d1b7e70 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 a1faf8987739c0..f2745218bce2c5 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: