From: Jan Macku Date: Tue, 27 Feb 2024 13:26:52 +0000 (+0100) Subject: ci(lint): exclude zsh completion from ShellCheck X-Git-Tag: v256-rc1~715^2~2 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=b2e0caf882d846805b4cb947fe4098c4b822e7ba;p=thirdparty%2Fsystemd.git ci(lint): exclude zsh completion from ShellCheck zsh is not supported by ShellCheck --- diff --git a/.github/workflows/differential-shellcheck.yml b/.github/workflows/differential-shellcheck.yml index b04aabb14a0..6072c526d86 100644 --- a/.github/workflows/differential-shellcheck.yml +++ b/.github/workflows/differential-shellcheck.yml @@ -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 }}