From 9d38400de160a471418be56b92a04bad3d9f263c 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/coverage-linux.yml | 10 ++++++---- .github/workflows/coverage-windows.yml | 10 ++++++---- .github/workflows/test-asan.yml | 2 ++ .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 f628521bb7ea12..9cc17aa892d285 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 5f515d1c24f2c7..0f0072bfe6c532 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 77839c314a569e..2762a08fa10bc8 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 686342f2f02081..adcacc9b99187c 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: