| 1 |
--- |
| 2 |
name: Lint |
| 3 |
|
| 4 |
on: |
| 5 |
pull_request: |
| 6 |
|
| 7 |
jobs: |
| 8 |
super-lint: |
| 9 |
name: Lint with Super-Linter |
| 10 |
runs-on: ubuntu-latest |
| 11 |
|
| 12 |
steps: |
| 13 |
|
| 14 |
- name: Checkout code |
| 15 |
uses: actions/checkout@v4 |
| 16 |
with: |
| 17 |
|
| 18 |
ref: ${{ github.event.pull_request.head.sha }} |
| 19 |
|
| 20 |
fetch-depth: 0 |
| 21 |
|
| 22 |
|
| 23 |
- name: Run Super-Linter on new changes |
| 24 |
uses: docker://ghcr.io/github/super-linter:slim-v4 |
| 25 |
env: |
| 26 |
DEFAULT_BRANCH: main |
| 27 |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} |
| 28 |
MARKDOWN_CONFIG_FILE: .markdownlint.json |
| 29 |
|
| 30 |
VALIDATE_ALL_CODEBASE: false |
| 31 |
|
| 32 |
DISABLE_ERRORS: false |
| 33 |
|
| 34 |
SHELLCHECK_OPTS: -e SC1090,SC2046,SC2164,SC2166,SC1091,SC2086,SC2001,SC2219,SC2181 |