mirror of
https://github.com/systemd/systemd.git
synced 2024-11-23 18:23:32 +08:00
Merge pull request #31511 from jamacku/prepare-for-diff-shellcheck
Prepare for new version of Differential ShellCheck & scanning of shell completion scripts
This commit is contained in:
commit
ab95ba1558
@ -31,5 +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
|
||||
exclude-path: '**/*.in'
|
||||
# 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 }}
|
||||
|
@ -1,3 +1,4 @@
|
||||
# shellcheck shell=bash
|
||||
# bootctl(1) completion -*- shell-script -*-
|
||||
# SPDX-License-Identifier: LGPL-2.1-or-later
|
||||
#
|
||||
|
@ -1,3 +1,4 @@
|
||||
# shellcheck shell=bash
|
||||
# busctl(1) completion -*- shell-script -*-
|
||||
# SPDX-License-Identifier: LGPL-2.1-or-later
|
||||
#
|
||||
|
@ -1,3 +1,4 @@
|
||||
# shellcheck shell=bash
|
||||
# coredumpctl(1) completion -*- shell-script -*-
|
||||
# SPDX-License-Identifier: LGPL-2.1-or-later
|
||||
#
|
||||
|
@ -1,3 +1,4 @@
|
||||
# shellcheck shell=bash
|
||||
# homectl(1) completion -*- shell-script -*-
|
||||
# SPDX-License-Identifier: LGPL-2.1-or-later
|
||||
#
|
||||
|
@ -1,3 +1,4 @@
|
||||
# shellcheck shell=bash
|
||||
# hostnamectl(1) completion -*- shell-script -*-
|
||||
# SPDX-License-Identifier: LGPL-2.1-or-later
|
||||
#
|
||||
|
@ -1,3 +1,4 @@
|
||||
# shellcheck shell=bash
|
||||
# journalctl(1) completion -*- shell-script -*-
|
||||
# SPDX-License-Identifier: LGPL-2.1-or-later
|
||||
#
|
||||
|
@ -1,3 +1,4 @@
|
||||
# shellcheck shell=bash
|
||||
# kernel-install(8) completion -*- shell-script -*-
|
||||
# SPDX-License-Identifier: LGPL-2.1-or-later
|
||||
#
|
||||
|
@ -1,3 +1,4 @@
|
||||
# shellcheck shell=bash
|
||||
# localectl(1) completion -*- shell-script -*-
|
||||
# SPDX-License-Identifier: LGPL-2.1-or-later
|
||||
#
|
||||
|
@ -1,3 +1,4 @@
|
||||
# shellcheck shell=bash
|
||||
# loginctl(1) completion -*- shell-script -*-
|
||||
# SPDX-License-Identifier: LGPL-2.1-or-later
|
||||
#
|
||||
|
@ -1,3 +1,4 @@
|
||||
# shellcheck shell=bash
|
||||
# machinectl(1) completion -*- shell-script -*-
|
||||
# SPDX-License-Identifier: LGPL-2.1-or-later
|
||||
#
|
||||
|
@ -1,3 +1,4 @@
|
||||
# shellcheck shell=bash
|
||||
# networkctl(1) completion -*- shell-script -*-
|
||||
# SPDX-License-Identifier: LGPL-2.1-or-later
|
||||
#
|
||||
|
@ -1,3 +1,4 @@
|
||||
# shellcheck shell=bash
|
||||
# oomctl(1) completion -*- shell-script -*-
|
||||
# SPDX-License-Identifier: LGPL-2.1-or-later
|
||||
#
|
||||
|
@ -1,3 +1,4 @@
|
||||
# shellcheck shell=bash
|
||||
# portablectl(1) completion -*- shell-script -*-
|
||||
# SPDX-License-Identifier: LGPL-2.1-or-later
|
||||
#
|
||||
|
@ -1,3 +1,4 @@
|
||||
# shellcheck shell=bash
|
||||
# resolvectl(1) completion -*- shell-script -*-
|
||||
# SPDX-License-Identifier: LGPL-2.1-or-later
|
||||
#
|
||||
|
@ -1,3 +1,4 @@
|
||||
# shellcheck shell=bash
|
||||
# systemctl(1) completion -*- shell-script -*-
|
||||
# vi: ft=sh
|
||||
# SPDX-License-Identifier: LGPL-2.1-or-later
|
||||
|
@ -1,3 +1,4 @@
|
||||
# shellcheck shell=bash
|
||||
# systemd-analyze(1) completion -*- shell-script -*-
|
||||
# SPDX-License-Identifier: LGPL-2.1-or-later
|
||||
#
|
||||
|
@ -1,3 +1,4 @@
|
||||
# shellcheck shell=bash
|
||||
# systemd-cat(1) completion -*- shell-script -*-
|
||||
# SPDX-License-Identifier: LGPL-2.1-or-later
|
||||
#
|
||||
|
@ -1,3 +1,4 @@
|
||||
# shellcheck shell=bash
|
||||
# systemd-cgls(1) completion -*- shell-script -*-
|
||||
# SPDX-License-Identifier: LGPL-2.1-or-later
|
||||
#
|
||||
|
@ -1,3 +1,4 @@
|
||||
# shellcheck shell=bash
|
||||
# systemd-cgtop(1) completion -*- shell-script -*-
|
||||
# SPDX-License-Identifier: LGPL-2.1-or-later
|
||||
#
|
||||
|
@ -1,3 +1,4 @@
|
||||
# shellcheck shell=bash
|
||||
# systemd-confext(8) completion -*- shell-script -*-
|
||||
# SPDX-License-Identifier: LGPL-2.1-or-later
|
||||
#
|
||||
|
@ -1,3 +1,4 @@
|
||||
# shellcheck shell=bash
|
||||
# systemd-cryptenroll(1) completion -*- shell-script -*-
|
||||
# SPDX-License-Identifier: LGPL-2.1-or-later
|
||||
#
|
||||
|
@ -1,3 +1,4 @@
|
||||
# shellcheck shell=bash
|
||||
# systemd-delta(1) completion -*- shell-script -*-
|
||||
# SPDX-License-Identifier: LGPL-2.1-or-later
|
||||
#
|
||||
|
@ -1,3 +1,4 @@
|
||||
# shellcheck shell=bash
|
||||
# systemd-detect-virt(1) completion -*- shell-script -*-
|
||||
# SPDX-License-Identifier: LGPL-2.1-or-later
|
||||
#
|
||||
|
@ -1,3 +1,4 @@
|
||||
# shellcheck shell=bash
|
||||
# systemd-dissect(1) completion -*- shell-script -*-
|
||||
# SPDX-License-Identifier: LGPL-2.1-or-later
|
||||
#
|
||||
|
@ -1,3 +1,4 @@
|
||||
# shellcheck shell=bash
|
||||
# systemd-id128(1) completion -*- shell-script -*-
|
||||
# SPDX-License-Identifier: LGPL-2.1-or-later
|
||||
#
|
||||
|
@ -1,3 +1,4 @@
|
||||
# shellcheck shell=bash
|
||||
# systemd-nspawn(1) completion -*- shell-script -*-
|
||||
# SPDX-License-Identifier: LGPL-2.1-or-later
|
||||
#
|
||||
|
@ -1,3 +1,4 @@
|
||||
# shellcheck shell=bash
|
||||
# systemd-path(1) completion -*- shell-script -*-
|
||||
# SPDX-License-Identifier: LGPL-2.1-or-later
|
||||
#
|
||||
|
@ -1,3 +1,4 @@
|
||||
# shellcheck shell=bash
|
||||
# systemd-resolve(1) completion -*- shell-script -*-
|
||||
# SPDX-License-Identifier: LGPL-2.1-or-later
|
||||
#
|
||||
|
@ -1,3 +1,4 @@
|
||||
# shellcheck shell=bash
|
||||
# systemd-run(1) completion -*- shell-script -*-
|
||||
# SPDX-License-Identifier: LGPL-2.1-or-later
|
||||
#
|
||||
|
@ -1,3 +1,4 @@
|
||||
# shellcheck shell=bash
|
||||
# systemd-sysext(8) completion -*- shell-script -*-
|
||||
# SPDX-License-Identifier: LGPL-2.1-or-later
|
||||
#
|
||||
|
@ -1,3 +1,4 @@
|
||||
# shellcheck shell=bash
|
||||
# timedatectl(1) completion -*- shell-script -*-
|
||||
# SPDX-License-Identifier: LGPL-2.1-or-later
|
||||
#
|
||||
|
@ -1,3 +1,4 @@
|
||||
# shellcheck shell=bash
|
||||
# udevadm(8) completion -*- shell-script -*-
|
||||
# SPDX-License-Identifier: LGPL-2.1-or-later
|
||||
#
|
||||
|
Loading…
Reference in New Issue
Block a user