From 78ab34341a4ae94391c594500c74f4d9d63e6904 Mon Sep 17 00:00:00 2001 From: "Kelvin M. Klann" Date: Tue, 12 Jul 2022 19:35:32 -0300 Subject: ci: ignore github markdown templates in all workflows Ensure that the following paths are ignored everywhere: - '.github/ISSUE_TEMPLATE/*' - .github/pull_request_template.md To avoid running CI unnecessarily. Currently, they're only ignored on .github/workflows/build-extra.yml. --- .github/workflows/build.yml | 4 ++++ .github/workflows/codeql-analysis.yml | 4 ++++ 2 files changed, 8 insertions(+) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 6612e256d..da2bea60f 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -4,7 +4,9 @@ on: push: branches: [ master ] paths-ignore: + - '.github/ISSUE_TEMPLATE/*' - .git-blame-ignore-revs + - .github/pull_request_template.md - .gitignore - CONTRIBUTING.md - COPYING @@ -15,7 +17,9 @@ on: pull_request: branches: [ master ] paths-ignore: + - '.github/ISSUE_TEMPLATE/*' - .git-blame-ignore-revs + - .github/pull_request_template.md - .gitignore - CONTRIBUTING.md - COPYING diff --git a/.github/workflows/codeql-analysis.yml b/.github/workflows/codeql-analysis.yml index 85110c17e..fa1ecfb84 100644 --- a/.github/workflows/codeql-analysis.yml +++ b/.github/workflows/codeql-analysis.yml @@ -9,8 +9,10 @@ on: push: branches: [ master ] paths-ignore: + - '.github/ISSUE_TEMPLATE/*' - 'etc/**' - .git-blame-ignore-revs + - .github/pull_request_template.md - .gitignore - CONTRIBUTING.md - COPYING @@ -22,8 +24,10 @@ on: # The branches below must be a subset of the branches above branches: [ master ] paths-ignore: + - '.github/ISSUE_TEMPLATE/*' - 'etc/**' - .git-blame-ignore-revs + - .github/pull_request_template.md - .gitignore - CONTRIBUTING.md - COPYING -- cgit v1.2.3-70-g09d2