Skip to content

ci(lint): add shell linter - Differential ShellCheck #1

ci(lint): add shell linter - Differential ShellCheck

ci(lint): add shell linter - Differential ShellCheck #1

name: Differential ShellCheck
on:
push:
branches: [ trunk ]
pull_request:
branches: [ trunk ]
permissions:
contents: read
jobs:
lint:
runs-on: ubuntu-latest
permissions:
security-events: write
steps:
- name: Repository checkout
uses: actions/checkout@v4
with:
fetch-depth: 0
- id: ShellCheck
name: Differential ShellCheck
uses: redhat-plumbers-in-action/differential-shellcheck@v5
with:
token: ${{ secrets.GITHUB_TOKEN }}