aboutsummaryrefslogtreecommitdiffstats
path: root/.github/workflows/build-extra.yml
diff options
context:
space:
mode:
authorLibravatar Kelvin M. Klann <kmk3.code@protonmail.com>2022-07-12 20:10:49 -0300
committerLibravatar Kelvin M. Klann <kmk3.code@protonmail.com>2022-11-24 19:21:11 -0300
commit9bf5e453c63acfb925c5c23fd19bda44f7bdf3b8 (patch)
treecbee0d7c1eea867be5c1d436adcb9f066d8a2038 /.github/workflows/build-extra.yml
parentMerge pull request #5449 from kmk3/lutris-fix-lol (diff)
downloadfirejail-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/build-extra.yml')
-rw-r--r--.github/workflows/build-extra.yml16
1 files changed, 8 insertions, 8 deletions
diff --git a/.github/workflows/build-extra.yml b/.github/workflows/build-extra.yml
index c0e0062cd..f61e41797 100644
--- a/.github/workflows/build-extra.yml
+++ b/.github/workflows/build-extra.yml
@@ -4,7 +4,10 @@ on:
4 push: 4 push:
5 branches: [ master ] 5 branches: [ master ]
6 paths-ignore: 6 paths-ignore:
7 - '.github/ISSUE_TEMPLATE/*'
8 - 'etc/**'
7 - .git-blame-ignore-revs 9 - .git-blame-ignore-revs
10 - .github/pull_request_template.md
8 - .gitignore 11 - .gitignore
9 - CONTRIBUTING.md 12 - CONTRIBUTING.md
10 - COPYING 13 - COPYING
@@ -12,14 +15,14 @@ on:
12 - README.md 15 - README.md
13 - RELNOTES 16 - RELNOTES
14 - SECURITY.md 17 - SECURITY.md
15 - 'etc/**' 18 - src/firecfg/firecfg.config
16 - 'src/firecfg/firecfg.config'
17 - '.github/ISSUE_TEMPLATE/*'
18 - '.github/pull_request_template.md'
19 pull_request: 19 pull_request:
20 branches: [ master ] 20 branches: [ master ]
21 paths-ignore: 21 paths-ignore:
22 - '.github/ISSUE_TEMPLATE/*'
23 - 'etc/**'
22 - .git-blame-ignore-revs 24 - .git-blame-ignore-revs
25 - .github/pull_request_template.md
23 - .gitignore 26 - .gitignore
24 - CONTRIBUTING.md 27 - CONTRIBUTING.md
25 - COPYING 28 - COPYING
@@ -27,10 +30,7 @@ on:
27 - README.md 30 - README.md
28 - RELNOTES 31 - RELNOTES
29 - SECURITY.md 32 - SECURITY.md
30 - 'etc/**' 33 - src/firecfg/firecfg.config
31 - 'src/firecfg/firecfg.config'
32 - '.github/ISSUE_TEMPLATE/*'
33 - '.github/pull_request_template.md'
34 34
35permissions: # added using https://github.com/step-security/secure-workflows 35permissions: # added using https://github.com/step-security/secure-workflows
36 contents: read 36 contents: read