This commit should be reverted once bash completion is in better shape when it comes to 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
+ # TEMPORARY: exclude bash completion files, they would generate too many defects in Code scanning dashboard (600+)
# exclude zsh completion files, zsh is not supported by ShellCheck
exclude-path: |
'**/*.in'
+ 'shell-completion/bash/*'
'shell-completion/zsh/*'
token: ${{ secrets.GITHUB_TOKEN }}