]> git.ipfire.org Git - thirdparty/systemd.git/commitdiff
ci(lint): exclude zsh completion from ShellCheck
authorJan Macku <jamacku@redhat.com>
Tue, 27 Feb 2024 13:26:52 +0000 (14:26 +0100)
committerJan Macku <jamacku@redhat.com>
Tue, 27 Feb 2024 14:41:28 +0000 (15:41 +0100)
zsh is not supported by ShellCheck

.github/workflows/differential-shellcheck.yml

index b04aabb14a046458fd83b07e072ee543bbb9cb92..6072c526d86f02212440b1e211c0d249108853e1 100644 (file)
@@ -31,5 +31,8 @@ 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
-          exclude-path: '**/*.in'
+          # exclude zsh completion files, zsh is not supported by ShellCheck
+          exclude-path: |
+            '**/*.in'
+            'shell-completion/zsh/*'
           token: ${{ secrets.GITHUB_TOKEN }}