Skip to content

feature: add env-max-count / env-max-len to firejail.config #1218

feature: add env-max-count / env-max-len to firejail.config

feature: add env-max-count / env-max-len to firejail.config #1218

Workflow file for this run

# Lints and checks for potential issues in the profiles.
name: Check-Profiles
on:
workflow_dispatch:
push:
branches-ignore:
- 'dependabot/**'
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
timeout-minutes: 5
steps:
- name: Harden Runner
uses: step-security/harden-runner@f4a75cfd619ee5ce8d5b864b0d183aff3c69b55a
with:
disable-sudo: true
egress-policy: block
allowed-endpoints: >
github.com:443
- uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8
- name: print env
run: ./ci/printenv.sh
- run: python3 --version
- name: sort.py
run: >
set +e;
./ci/check/profiles/sort.py
etc/inc/*.inc etc/{profile-a-l,profile-m-z}/*.profile;
echo;
git diff --exit-code
# 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