]> git.ipfire.org Git - thirdparty/systemd.git/commitdiff
ci(lint): temporarily disable ShellCheck for bash-completion 31511/head
authorJan Macku <jamacku@redhat.com>
Tue, 27 Feb 2024 14:33:36 +0000 (15:33 +0100)
committerJan Macku <jamacku@redhat.com>
Tue, 27 Feb 2024 14:41:28 +0000 (15:41 +0100)
This commit should be reverted once bash completion is in better shape when it comes to ShellCheck.

.github/workflows/differential-shellcheck.yml

index 6072c526d86f02212440b1e211c0d249108853e1..89811edb9514f8766f3b495332ebfe1596600ca0 100644 (file)
@@ -31,8 +31,10 @@ jobs:
         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 }}