Files
flatpak/.github/workflows/differential-shellcheck.yml
2023-09-04 19:49:55 +01:00

33 lines
620 B
YAML

# Doc: https://github.com/redhat-plumbers-in-action/differential-shellcheck#usage
---
name: Differential ShellCheck
on:
push:
branches: [main]
pull_request:
branches: [main]
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
- name: Differential ShellCheck
uses: redhat-plumbers-in-action/differential-shellcheck@v4
with:
severity: warning
token: ${{ secrets.GITHUB_TOKEN }}