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