aboutsummaryrefslogtreecommitdiffstats
path: root/.github/workflows/profile-checks.yml
diff options
context:
space:
mode:
authorLibravatar Kelvin M. Klann <kmk3.code@protonmail.com>2023-08-14 19:51:27 -0300
committerLibravatar Kelvin M. Klann <kmk3.code@protonmail.com>2023-08-20 06:20:40 -0300
commitb589045b0fde572b892b8fe9333e2148f6b28452 (patch)
treefbb575d093d2eefe5ae8e9b865e462ea76b81576 /.github/workflows/profile-checks.yml
parentMerge pull request #5956 from kmk3/build-fix-dep-syntax (diff)
downloadfirejail-b589045b0fde572b892b8fe9333e2148f6b28452.tar.gz
firejail-b589045b0fde572b892b8fe9333e2148f6b28452.tar.zst
firejail-b589045b0fde572b892b8fe9333e2148f6b28452.zip
ci: use path whitelists instead of blacklists
That is, replace `paths-ignore` with `paths`. This should reduce the number of unnecessary workflow executions and the frequency at which paths are changed. It also reduces the overall number of paths used. Also, add the missing ci/printenv.sh to the path whitelists.
Diffstat (limited to '.github/workflows/profile-checks.yml')
-rw-r--r--.github/workflows/profile-checks.yml2
1 files changed, 2 insertions, 0 deletions
diff --git a/.github/workflows/profile-checks.yml b/.github/workflows/profile-checks.yml
index c44012768..4768c91a1 100644
--- a/.github/workflows/profile-checks.yml
+++ b/.github/workflows/profile-checks.yml
@@ -6,6 +6,7 @@ on:
6 - 'ci/check/profiles/**' 6 - 'ci/check/profiles/**'
7 - 'etc/**' 7 - 'etc/**'
8 - .github/workflows/profile-checks.yml 8 - .github/workflows/profile-checks.yml
9 - ci/printenv.sh
9 - contrib/sort.py 10 - contrib/sort.py
10 - src/firecfg/firecfg.config 11 - src/firecfg/firecfg.config
11 pull_request: 12 pull_request:
@@ -13,6 +14,7 @@ on:
13 - 'ci/check/profiles/**' 14 - 'ci/check/profiles/**'
14 - 'etc/**' 15 - 'etc/**'
15 - .github/workflows/profile-checks.yml 16 - .github/workflows/profile-checks.yml
17 - ci/printenv.sh
16 - contrib/sort.py 18 - contrib/sort.py
17 - src/firecfg/firecfg.config 19 - src/firecfg/firecfg.config
18 20