blob: 06c446c6c3a1cd9c7c6fd50364c163f339d316b6 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
|
name: Profile Checks
on:
push:
branches: [ master ]
paths:
- 'ci/check/profiles/**'
- 'etc/**'
- .github/workflows/profile-checks.yml
- contrib/sort.py
- src/firecfg/firecfg.config
pull_request:
branches: [ master ]
paths:
- 'ci/check/profiles/**'
- 'etc/**'
- .github/workflows/profile-checks.yml
- contrib/sort.py
- src/firecfg/firecfg.config
permissions: # added using https://github.com/step-security/secure-workflows
contents: read
jobs:
profile-checks:
runs-on: ubuntu-latest
steps:
- name: Harden Runner
uses: step-security/harden-runner@1f99358870fe1c846a3ccba386cc2b2246836776
with:
disable-sudo: true
egress-policy: block
allowed-endpoints: >
github.com:443
- uses: actions/checkout@ac593985615ec2ede58e132d2e21d2b1cbd6127c
# - name: sort.py
# run: ./ci/check/profiles/sort.py etc/inc/*.inc etc/{profile-a-l,profile-m-z}/*.profile
# Currently broken (see #5610)
# - name: private-etc-always-required.sh
# run: ./ci/check/profiles/private-etc-always-required.sh etc/inc/*.inc etc/{profile-a-l,profile-m-z}/*.profile
- name: sort-disable-programs.sh
run: ./ci/check/profiles/sort-disable-programs.sh etc/inc/disable-programs.inc
- name: sort-firecfg.config.sh
run: ./ci/check/profiles/sort-firecfg.config.sh src/firecfg/firecfg.config
|