From: Jan Macku Date: Fri, 7 Oct 2022 12:41:15 +0000 (+0200) Subject: ci: Update Differential ShellCheck GitHub Action X-Git-Tag: v2.39-rc1~497^2 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=93b6f021e1d7f3481f5f5b86a0425aa4ce6b6bcc;p=thirdparty%2Futil-linux.git 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 --- 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 }}