From a057c1ee4cb27163dbda9fe5b04730198f6b909a Mon Sep 17 00:00:00 2001 From: "Kelvin M. Klann" Date: Tue, 12 Jul 2022 19:37:10 -0300 Subject: ci: ignore codeql workflow file in other workflows Ensure that the following file is ignored everywhere, except on its own workflow: - .github/workflows/codeql-analysis.yml To avoid running CI unnecessarily. This should also make the CI checks finish faster on most PRs opened by dependabot, as they're often only about bumping the version of codeql-action and are opened about once a week (see .github/dependabot.yml). --- .github/workflows/build-extra.yml | 2 ++ .github/workflows/build.yml | 2 ++ 2 files changed, 4 insertions(+) diff --git a/.github/workflows/build-extra.yml b/.github/workflows/build-extra.yml index 1b1855a1f..9ac991fea 100644 --- a/.github/workflows/build-extra.yml +++ b/.github/workflows/build-extra.yml @@ -9,6 +9,7 @@ on: - .git-blame-ignore-revs - .github/dependabot.yml - .github/pull_request_template.md + - .github/workflows/codeql-analysis.yml - .gitignore - .gitlab-ci.yml - CONTRIBUTING.md @@ -26,6 +27,7 @@ on: - .git-blame-ignore-revs - .github/dependabot.yml - .github/pull_request_template.md + - .github/workflows/codeql-analysis.yml - .gitignore - .gitlab-ci.yml - CONTRIBUTING.md diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 172758399..3119f59b9 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -8,6 +8,7 @@ on: - .git-blame-ignore-revs - .github/dependabot.yml - .github/pull_request_template.md + - .github/workflows/codeql-analysis.yml - .gitignore - .gitlab-ci.yml - CONTRIBUTING.md @@ -23,6 +24,7 @@ on: - .git-blame-ignore-revs - .github/dependabot.yml - .github/pull_request_template.md + - .github/workflows/codeql-analysis.yml - .gitignore - .gitlab-ci.yml - CONTRIBUTING.md -- cgit v1.2.3-54-g00ecf