The new version of Differential ShellCheck GitHub Action brings many improvements:
- External sourcing by default (`shellcheck -x`)
- Improved shell script autodetection
- and more
----
# https://github.com/redhat-plumbers-in-action/differential-shellcheck#readme
+---
name: Differential ShellCheck
on:
lint:
runs-on: ubuntu-latest
- permissions:
- security-events: write
- pull-requests: write
-
steps:
- name: Repository checkout
uses: actions/checkout@v3
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 }}