From 93b6f021e1d7f3481f5f5b86a0425aa4ce6b6bcc Mon Sep 17 00:00:00 2001 From: Jan Macku Date: Fri, 7 Oct 2022 14:41:15 +0200 Subject: [PATCH] ci: Update Differential ShellCheck GitHub Action The new version of Differential ShellCheck GitHub Action brings many improvements: - External sourcing by default (`shellcheck -x`) - Improved shell script autodetection - and more --- .github/workflows/differential-shellcheck.yml | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) diff --git a/.github/workflows/differential-shellcheck.yml b/.github/workflows/differential-shellcheck.yml index 52eb6811c6..e95b0b7b42 100644 --- a/.github/workflows/differential-shellcheck.yml +++ b/.github/workflows/differential-shellcheck.yml @@ -1,5 +1,5 @@ ---- # https://github.com/redhat-plumbers-in-action/differential-shellcheck#readme +--- name: Differential ShellCheck on: @@ -14,10 +14,6 @@ jobs: lint: runs-on: ubuntu-latest - permissions: - security-events: write - pull-requests: write - steps: - name: Repository checkout uses: actions/checkout@v3 @@ -25,6 +21,7 @@ jobs: fetch-depth: 0 - name: Differential ShellCheck - uses: redhat-plumbers-in-action/differential-shellcheck@v2 + uses: redhat-plumbers-in-action/differential-shellcheck@v3 with: + severity: warning token: ${{ secrets.GITHUB_TOKEN }} -- 2.47.3