From 0aa66649efa11e9c3c4d341f8a42f2eef8e942de Mon Sep 17 00:00:00 2001 From: rusty-snake <41237666+rusty-snake@users.noreply.github.com> Date: Tue, 26 Oct 2021 15:24:21 +0200 Subject: Add Profile Checks --- .github/workflows/profile-checks.yml | 31 +++++++++++++++++++++++++++++++ 1 file changed, 31 insertions(+) create mode 100644 .github/workflows/profile-checks.yml (limited to '.github/workflows/profile-checks.yml') diff --git a/.github/workflows/profile-checks.yml b/.github/workflows/profile-checks.yml new file mode 100644 index 000000000..951a8b8cf --- /dev/null +++ b/.github/workflows/profile-checks.yml @@ -0,0 +1,31 @@ +name: Profile Checks + +on: + push: + branches: [ master ] + paths: + - 'etc/**' + - 'ci/check/profiles/**' + - 'src/firecfg/firecfg.config' + - 'contrib/sort.py' + pull_request: + branches: [ master ] + paths: + - 'etc/**' + - 'ci/check/profiles/**' + - 'src/firecfg/firecfg.config' + - 'contrib/sort.py' + +jobs: + profile-checks: + runs-on: ubuntu-20.04 + steps: + - uses: actions/checkout@v2 + - name: sort.py + run: ./ci/check/profiles/sort.py etc/inc/*.inc etc/{profile-a-l,profile-m-z}/*.profile + - 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 -- cgit v1.2.3-70-g09d2