--- # https://github.com/redhat-plumbers-in-action/differential-shellcheck#readme name: Differential ShellCheck on: push: branches: - main pull_request: branches: - main permissions: contents: read jobs: lint: if: github.event.repository.name != 'systemd-security' runs-on: ubuntu-latest permissions: security-events: write steps: - name: Repository checkout uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 with: fetch-depth: 0 - name: Differential ShellCheck uses: redhat-plumbers-in-action/differential-shellcheck@91e2582e40236f831458392d905578d680baa138 with: # exclude all `.in` files because they may contain unsupported syntax, and they have to be preprocessed first exclude-path: '**/*.in' token: ${{ secrets.GITHUB_TOKEN }}