From 2f1b352e4e4fcc9c44fa618dfaf7e04b6f972caf Mon Sep 17 00:00:00 2001 From: "Kelvin M. Klann" Date: Mon, 14 Aug 2023 22:30:29 -0300 Subject: ci: rename profile-checks.yml to check-profiles.yml --- .github/workflows/check-profiles.yml | 57 ++++++++++++++++++++++++++++++++++++ .github/workflows/profile-checks.yml | 57 ------------------------------------ 2 files changed, 57 insertions(+), 57 deletions(-) create mode 100644 .github/workflows/check-profiles.yml delete mode 100644 .github/workflows/profile-checks.yml (limited to '.github') diff --git a/.github/workflows/check-profiles.yml b/.github/workflows/check-profiles.yml new file mode 100644 index 000000000..5167516e8 --- /dev/null +++ b/.github/workflows/check-profiles.yml @@ -0,0 +1,57 @@ +name: Check-Profiles + +on: + push: + paths: + - 'ci/check/profiles/**' + - 'etc/**' + - .github/workflows/check-profiles.yml + - ci/printenv.sh + - contrib/sort.py + - src/firecfg/firecfg.config + pull_request: + paths: + - 'ci/check/profiles/**' + - 'etc/**' + - .github/workflows/check-profiles.yml + - ci/printenv.sh + - 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@8ca2b8b2ece13480cda6dacd3511b49857a23c09 + with: + disable-sudo: true + egress-policy: block + allowed-endpoints: > + github.com:443 + + - uses: actions/checkout@c85c95e3d7251135ab7dc9ce3241c5835cc595a9 + - name: print env + run: ./ci/printenv.sh + - run: python3 --version + +# - 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 diff --git a/.github/workflows/profile-checks.yml b/.github/workflows/profile-checks.yml deleted file mode 100644 index 4768c91a1..000000000 --- a/.github/workflows/profile-checks.yml +++ /dev/null @@ -1,57 +0,0 @@ -name: Profile Checks - -on: - push: - paths: - - 'ci/check/profiles/**' - - 'etc/**' - - .github/workflows/profile-checks.yml - - ci/printenv.sh - - contrib/sort.py - - src/firecfg/firecfg.config - pull_request: - paths: - - 'ci/check/profiles/**' - - 'etc/**' - - .github/workflows/profile-checks.yml - - ci/printenv.sh - - 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@8ca2b8b2ece13480cda6dacd3511b49857a23c09 - with: - disable-sudo: true - egress-policy: block - allowed-endpoints: > - github.com:443 - - - uses: actions/checkout@c85c95e3d7251135ab7dc9ce3241c5835cc595a9 - - name: print env - run: ./ci/printenv.sh - - run: python3 --version - -# - 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 -- cgit v1.2.3-54-g00ecf