diff options
author | 2022-07-12 20:10:49 -0300 | |
---|---|---|
committer | 2022-11-24 19:21:11 -0300 | |
commit | 9bf5e453c63acfb925c5c23fd19bda44f7bdf3b8 (patch) | |
tree | cbee0d7c1eea867be5c1d436adcb9f066d8a2038 /.github/workflows/profile-checks.yml | |
parent | Merge pull request #5449 from kmk3/lutris-fix-lol (diff) | |
download | firejail-9bf5e453c63acfb925c5c23fd19bda44f7bdf3b8.tar.gz firejail-9bf5e453c63acfb925c5c23fd19bda44f7bdf3b8.tar.zst firejail-9bf5e453c63acfb925c5c23fd19bda44f7bdf3b8.zip |
ci: sort items on paths-ignore lists
Leave quotes only on paths with wildcards so that they are sorted before
normal paths, then sort everything.
Note that in the current workflow files, ignored directories always use
wildcards, so this also ensures that ignored directories (along with all
other paths with wildcards) are always listed before ignored files
(similarly to `--group-directories-first` in GNU `ls`).
This order is similar to the one on
.github/workflows/profile-checks.yml.
Diffstat (limited to '.github/workflows/profile-checks.yml')
-rw-r--r-- | .github/workflows/profile-checks.yml | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/.github/workflows/profile-checks.yml b/.github/workflows/profile-checks.yml index d36d050ab..17e756685 100644 --- a/.github/workflows/profile-checks.yml +++ b/.github/workflows/profile-checks.yml | |||
@@ -4,17 +4,17 @@ on: | |||
4 | push: | 4 | push: |
5 | branches: [ master ] | 5 | branches: [ master ] |
6 | paths: | 6 | paths: |
7 | - 'etc/**' | ||
8 | - 'ci/check/profiles/**' | 7 | - 'ci/check/profiles/**' |
9 | - 'src/firecfg/firecfg.config' | 8 | - 'etc/**' |
10 | - 'contrib/sort.py' | 9 | - contrib/sort.py |
10 | - src/firecfg/firecfg.config | ||
11 | pull_request: | 11 | pull_request: |
12 | branches: [ master ] | 12 | branches: [ master ] |
13 | paths: | 13 | paths: |
14 | - 'etc/**' | ||
15 | - 'ci/check/profiles/**' | 14 | - 'ci/check/profiles/**' |
16 | - 'src/firecfg/firecfg.config' | 15 | - 'etc/**' |
17 | - 'contrib/sort.py' | 16 | - contrib/sort.py |
17 | - src/firecfg/firecfg.config | ||
18 | 18 | ||
19 | permissions: # added using https://github.com/step-security/secure-workflows | 19 | permissions: # added using https://github.com/step-security/secure-workflows |
20 | contents: read | 20 | contents: read |