From 5c27ec838575792c0f1eeeb591e953d472cf2fd6 Mon Sep 17 00:00:00 2001 From: Rich Trott Date: Fri, 26 Nov 2021 17:18:37 -0800 Subject: [PATCH] build: ignore unrelated workflow changes in slow Actions tests MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit test-asan and test-macos are very slow and tend to get backed up. While I'm literally waiting hours right now for test-macos to finish so I can land a PR, I'm opening this pull request to have it be skipped when things other than its own workflow file are the only changes in the PR. PR-URL: https://github.com/nodejs/node/pull/40928 Reviewed-By: Antoine du Hamel Reviewed-By: Tobias Nießen --- .github/workflows/test-asan.yml | 4 ++++ .github/workflows/test-linux.yml | 4 ++++ .github/workflows/test-macos.yml | 4 ++++ 3 files changed, 12 insertions(+) diff --git a/.github/workflows/test-asan.yml b/.github/workflows/test-asan.yml index 021747ace19a4b..8965e38dd09502 100644 --- a/.github/workflows/test-asan.yml +++ b/.github/workflows/test-asan.yml @@ -8,6 +8,8 @@ on: - '**.md' - 'AUTHORS' - 'doc/**' + - .github/** + - '!.github/workflows/test-asan.yml' push: branches: - master @@ -20,6 +22,8 @@ on: - '**.md' - 'AUTHORS' - 'doc/**' + - .github/** + - '!.github/workflows/test-asan.yml' env: PYTHON_VERSION: '3.10' diff --git a/.github/workflows/test-linux.yml b/.github/workflows/test-linux.yml index b7dce4dd8a9672..374bf747790399 100644 --- a/.github/workflows/test-linux.yml +++ b/.github/workflows/test-linux.yml @@ -4,6 +4,8 @@ on: pull_request: paths-ignore: - "README.md" + - .github/** + - '!.github/workflows/test-linux.yml' types: [opened, synchronize, reopened, ready_for_review] push: branches: @@ -14,6 +16,8 @@ on: - v[0-9]+.x paths-ignore: - "README.md" + - .github/** + - '!.github/workflows/test-linux.yml' env: PYTHON_VERSION: '3.10' diff --git a/.github/workflows/test-macos.yml b/.github/workflows/test-macos.yml index 6c5e3ab310cb27..2926c3ed2eb568 100644 --- a/.github/workflows/test-macos.yml +++ b/.github/workflows/test-macos.yml @@ -8,6 +8,8 @@ on: - '**.md' - 'AUTHORS' - 'doc/**' + - .github/** + - '!.github/workflows/test-macos.yml' push: branches: - master @@ -20,6 +22,8 @@ on: - '**.md' - 'AUTHORS' - 'doc/**' + - .github/** + - '!.github/workflows/test-macos.yml' env: PYTHON_VERSION: '3.10'