From 2499a3be219d86b262fc24f04d57d1529cfe6bb8 Mon Sep 17 00:00:00 2001 From: "Kelvin M. Klann" Date: Fri, 5 Aug 2022 19:42:06 -0300 Subject: ci: ignore man/vim paths in build-extra/codeql workflows Ignore the following paths: - 'contrib/vim/**' - 'src/man/*.txt' To avoid running CI unnecessarily. Note: build-extra essentially only builds with clang and runs linters on the C code, so changes to the man pages and vim files should not affect the result. Do not ignore them on .github/workflows/build.yml because they are part of DISTFILES (see the root Makefile). Misc: I noticed this on #5296 (man pages). --- .github/workflows/build-extra.yml | 4 ++++ .github/workflows/codeql-analysis.yml | 4 ++++ 2 files changed, 8 insertions(+) diff --git a/.github/workflows/build-extra.yml b/.github/workflows/build-extra.yml index 9ac991fea..e9ec436a4 100644 --- a/.github/workflows/build-extra.yml +++ b/.github/workflows/build-extra.yml @@ -6,6 +6,8 @@ on: paths-ignore: - '.github/ISSUE_TEMPLATE/*' - 'etc/**' + - 'contrib/vim/**' + - 'src/man/*.txt' - .git-blame-ignore-revs - .github/dependabot.yml - .github/pull_request_template.md @@ -24,6 +26,8 @@ on: paths-ignore: - '.github/ISSUE_TEMPLATE/*' - 'etc/**' + - 'contrib/vim/**' + - 'src/man/*.txt' - .git-blame-ignore-revs - .github/dependabot.yml - .github/pull_request_template.md diff --git a/.github/workflows/codeql-analysis.yml b/.github/workflows/codeql-analysis.yml index 1c6d5e5e3..ad19c9530 100644 --- a/.github/workflows/codeql-analysis.yml +++ b/.github/workflows/codeql-analysis.yml @@ -11,6 +11,8 @@ on: paths-ignore: - '.github/ISSUE_TEMPLATE/*' - 'etc/**' + - 'contrib/vim/**' + - 'src/man/*.txt' - .git-blame-ignore-revs - .github/dependabot.yml - .github/pull_request_template.md @@ -29,6 +31,8 @@ on: paths-ignore: - '.github/ISSUE_TEMPLATE/*' - 'etc/**' + - 'contrib/vim/**' + - 'src/man/*.txt' - .git-blame-ignore-revs - .github/dependabot.yml - .github/pull_request_template.md -- cgit v1.2.3-70-g09d2