--- name: Differential ShellCheck on: push: pull_request: branches: [ master ] permissions: contents: read jobs: lint: runs-on: ubuntu-latest permissions: security-events: write steps: - name: Repository checkout uses: actions/checkout@8ade135a41bc03ea155e62e844d188df1ea18608 with: fetch-depth: 0 - id: ShellCheck name: Differential ShellCheck uses: redhat-plumbers-in-action/differential-shellcheck@cc6721c45a8800cc666de45493545a07a638d121 with: severity: error token: ${{ secrets.GITHUB_TOKEN }} - if: ${{ always() }} name: Upload artifact with ShellCheck defects in SARIF format uses: actions/upload-artifact@cf8714cfeaba5687a442b9bcb85b29e23f468dfa with: name: Differential ShellCheck SARIF path: ${{ steps.ShellCheck.outputs.sarif }} ...