Skip to content

Differential ShellCheck #35

Differential ShellCheck

Differential ShellCheck #35

# Doc: https://github.com/redhat-plumbers-in-action/differential-shellcheck#usage
---
name: Differential ShellCheck
on:
pull_request:
branches: [master]
permissions:
contents: read
jobs:
lint:
runs-on: ubuntu-latest
steps:
- name: Repository checkout
uses: actions/checkout@v3.3.0
with:
fetch-depth: 0
- name: Differential ShellCheck
uses: redhat-plumbers-in-action/differential-shellcheck@v4
env:
# The shell specification is missing in .sh test files
SHELLCHECK_OPTS: -s bash
with:
severity: warning
token: ${{ secrets.GITHUB_TOKEN }}