From bd5bc3752a19221a76b260dd5bd4a536fcab28bc Mon Sep 17 00:00:00 2001 From: Rich Trott Date: Tue, 14 Sep 2021 07:21:06 -0700 Subject: [PATCH 1/3] build: add paths-ignore for build-tarball workflow In GitHub Actions, don't run build-tarball if the only changed files are docs. --- .github/workflows/build-tarball.yml | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/.github/workflows/build-tarball.yml b/.github/workflows/build-tarball.yml index 37f4e707561606..0e70aaaa5cd1fd 100644 --- a/.github/workflows/build-tarball.yml +++ b/.github/workflows/build-tarball.yml @@ -3,12 +3,22 @@ name: Build from tarball on: pull_request: types: [opened, synchronize, reopened, ready_for_review] + paths-ignore: + - '.mailmap' + - '**.md' + - 'AUTHORS' + - 'doc/**' push: branches: - master - main - v[0-9]+.x-staging - v[0-9]+.x + paths-ignore: + - '.mailmap' + - '**.md' + - 'AUTHORS' + - 'doc/**' env: FLAKY_TESTS: dontcare From a14b1a45a4c6bb0c6010c5ccaa7890845a2307ff Mon Sep 17 00:00:00 2001 From: Rich Trott Date: Tue, 14 Sep 2021 07:23:34 -0700 Subject: [PATCH 2/3] build: add .mailmap/AUTHORS to path-ignore for test-asan --- .github/workflows/test-asan.yml | 14 +++++++++----- 1 file changed, 9 insertions(+), 5 deletions(-) diff --git a/.github/workflows/test-asan.yml b/.github/workflows/test-asan.yml index 2762a08fa10bc8..8745f5eb4c0f9a 100644 --- a/.github/workflows/test-asan.yml +++ b/.github/workflows/test-asan.yml @@ -1,6 +1,13 @@ name: test-asan on: + pull_request: + types: [opened, synchronize, reopened, ready_for_review] + paths-ignore: + - '.mailmap' + - '**.md' + - 'AUTHORS' + - 'doc/**' push: branches: - master @@ -9,12 +16,9 @@ on: - v[0-9]+.x-staging - v[0-9]+.x paths-ignore: + - '.mailmap' - '**.md' - - 'doc/**' - pull_request: - types: [opened, synchronize, reopened, ready_for_review] - paths-ignore: - - '**.md' + - 'AUTHORS' - 'doc/**' env: From b20e88cb5bb4d4200c1bfc0e7f4e76808b9ea8ca Mon Sep 17 00:00:00 2001 From: Rich Trott Date: Tue, 14 Sep 2021 07:23:54 -0700 Subject: [PATCH 3/3] build: add .mailmap/AUTHORS to paths-ignore for test-macos --- .github/workflows/test-macos.yml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.github/workflows/test-macos.yml b/.github/workflows/test-macos.yml index adcacc9b99187c..a099a25285c278 100644 --- a/.github/workflows/test-macos.yml +++ b/.github/workflows/test-macos.yml @@ -4,7 +4,9 @@ on: pull_request: types: [opened, synchronize, reopened, ready_for_review] paths-ignore: + - '.mailmap' - '**.md' + - 'AUTHORS' - 'doc/**' push: branches: @@ -14,7 +16,9 @@ on: - v[0-9]+.x-staging - v[0-9]+.x paths-ignore: + - '.mailmap' - '**.md' + - 'AUTHORS' - 'doc/**' env: