2022-09-18 17:57:43 -04:00
|
|
|
---
|
|
|
|
|
|
|
|
name: Lint
|
|
|
|
on:
|
2023-03-31 04:14:01 -04:00
|
|
|
push:
|
|
|
|
branches: [master]
|
2022-09-18 17:57:43 -04:00
|
|
|
pull_request:
|
|
|
|
branches: [master]
|
|
|
|
|
|
|
|
permissions:
|
|
|
|
contents: read
|
|
|
|
|
|
|
|
jobs:
|
|
|
|
shellcheck:
|
|
|
|
runs-on: ubuntu-latest
|
|
|
|
|
2023-03-31 04:14:01 -04:00
|
|
|
permissions:
|
|
|
|
security-events: write
|
|
|
|
|
2022-09-18 17:57:43 -04:00
|
|
|
steps:
|
|
|
|
- name: Repository checkout
|
2023-09-04 14:44:47 -04:00
|
|
|
uses: actions/checkout@v4
|
2022-09-18 17:57:43 -04:00
|
|
|
with:
|
|
|
|
fetch-depth: 0
|
|
|
|
|
|
|
|
- name: Differential ShellCheck
|
2023-02-07 19:34:53 -05:00
|
|
|
uses: redhat-plumbers-in-action/differential-shellcheck@v4
|
2022-09-18 17:57:43 -04:00
|
|
|
with:
|
|
|
|
token: ${{ secrets.GITHUB_TOKEN }}
|