| 1 |
# Doc: https://github.com/redhat-plumbers-in-action/differential-shellcheck#usage |
| 2 |
--- |
| 3 |
|
| 4 |
name: Differential ShellCheck |
| 5 |
on: |
| 6 |
push: |
| 7 |
branches: [master] |
| 8 |
pull_request: |
| 9 |
branches: [master] |
| 10 |
|
| 11 |
permissions: |
| 12 |
contents: read |
| 13 |
security-events: write |
| 14 |
|
| 15 |
jobs: |
| 16 |
lint: |
| 17 |
runs-on: ubuntu-latest |
| 18 |
|
| 19 |
steps: |
| 20 |
- name: Repository checkout |
| 21 |
uses: actions/checkout@v7 |
| 22 |
with: |
| 23 |
fetch-depth: 0 |
| 24 |
|
| 25 |
- name: Differential ShellCheck |
| 26 |
uses: redhat-plumbers-in-action/differential-shellcheck@v5 |
| 27 |
with: |
| 28 |
severity: warning |
| 29 |
token: ${{ secrets.GITHUB_TOKEN }} |