From 25e10671ccd268465ea23e9328abe3b982068c45 Mon Sep 17 00:00:00 2001 From: Rich Trott Date: Thu, 25 Nov 2021 13:06:19 -0800 Subject: [PATCH] build: ignore unrelated workflow changes in slow Actions tests 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. --- .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'