2 # https://github.com/redhat-plumbers-in-action/differential-shellcheck#readme
4 name: Differential ShellCheck
18 if: github.event.repository.name != 'systemd-security'
19 runs-on: ubuntu-latest
22 security-events: write
25 - name: Repository checkout
26 uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11
30 - name: Differential ShellCheck
31 uses: redhat-plumbers-in-action/differential-shellcheck@91e2582e40236f831458392d905578d680baa138
33 # exclude all `.in` files because they may contain unsupported syntax, and they have to be preprocessed first
34 # TEMPORARY: exclude bash completion files, they would generate too many defects in Code scanning dashboard (600+)
35 # exclude zsh completion files, zsh is not supported by ShellCheck
38 'shell-completion/bash/*'
39 'shell-completion/zsh/*'
40 token: ${{ secrets.GITHUB_TOKEN }}