tito/.github/workflows/shell-diff-lint.yml
Pavel Raiskup 96859ee484 automation: some useful pre-commit workflows
- enable differential PyLint checker
- enable differential ShellCheck (there's a bash script in this repo)
- enable Fedora test matrix
2023-01-24 14:14:56 +01:00

24 lines
439 B
YAML

---
name: Lint Shell issues
on:
pull_request:
branches: [master]
permissions:
contents: read
jobs:
shell-lint-job:
runs-on: ubuntu-latest
steps:
- name: Repository checkout
uses: actions/checkout@v3
with:
fetch-depth: 0
- name: Differential ShellCheck
uses: redhat-plumbers-in-action/differential-shellcheck@v4
with:
token: ${{ secrets.GITHUB_TOKEN }}