aboutsummaryrefslogtreecommitdiffstats
path: root/.github
diff options
context:
space:
mode:
authorLibravatar Kelvin M. Klann <kmk3.code@protonmail.com>2022-08-05 19:42:06 -0300
committerLibravatar Kelvin M. Klann <kmk3.code@protonmail.com>2022-11-24 19:22:38 -0300
commit2499a3be219d86b262fc24f04d57d1529cfe6bb8 (patch)
tree27ac995d7c62530cd28430e3870c660e913a46aa /.github
parentci: ignore firecfg.config in the codeql workflow (diff)
downloadfirejail-2499a3be219d86b262fc24f04d57d1529cfe6bb8.tar.gz
firejail-2499a3be219d86b262fc24f04d57d1529cfe6bb8.tar.zst
firejail-2499a3be219d86b262fc24f04d57d1529cfe6bb8.zip
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).
Diffstat (limited to '.github')
-rw-r--r--.github/workflows/build-extra.yml4
-rw-r--r--.github/workflows/codeql-analysis.yml4
2 files changed, 8 insertions, 0 deletions
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:
6 paths-ignore: 6 paths-ignore:
7 - '.github/ISSUE_TEMPLATE/*' 7 - '.github/ISSUE_TEMPLATE/*'
8 - 'etc/**' 8 - 'etc/**'
9 - 'contrib/vim/**'
10 - 'src/man/*.txt'
9 - .git-blame-ignore-revs 11 - .git-blame-ignore-revs
10 - .github/dependabot.yml 12 - .github/dependabot.yml
11 - .github/pull_request_template.md 13 - .github/pull_request_template.md
@@ -24,6 +26,8 @@ on:
24 paths-ignore: 26 paths-ignore:
25 - '.github/ISSUE_TEMPLATE/*' 27 - '.github/ISSUE_TEMPLATE/*'
26 - 'etc/**' 28 - 'etc/**'
29 - 'contrib/vim/**'
30 - 'src/man/*.txt'
27 - .git-blame-ignore-revs 31 - .git-blame-ignore-revs
28 - .github/dependabot.yml 32 - .github/dependabot.yml
29 - .github/pull_request_template.md 33 - .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:
11 paths-ignore: 11 paths-ignore:
12 - '.github/ISSUE_TEMPLATE/*' 12 - '.github/ISSUE_TEMPLATE/*'
13 - 'etc/**' 13 - 'etc/**'
14 - 'contrib/vim/**'
15 - 'src/man/*.txt'
14 - .git-blame-ignore-revs 16 - .git-blame-ignore-revs
15 - .github/dependabot.yml 17 - .github/dependabot.yml
16 - .github/pull_request_template.md 18 - .github/pull_request_template.md
@@ -29,6 +31,8 @@ on:
29 paths-ignore: 31 paths-ignore:
30 - '.github/ISSUE_TEMPLATE/*' 32 - '.github/ISSUE_TEMPLATE/*'
31 - 'etc/**' 33 - 'etc/**'
34 - 'contrib/vim/**'
35 - 'src/man/*.txt'
32 - .git-blame-ignore-revs 36 - .git-blame-ignore-revs
33 - .github/dependabot.yml 37 - .github/dependabot.yml
34 - .github/pull_request_template.md 38 - .github/pull_request_template.md