Debian Codegraph @

.github/workflows/lint.yml

raw symbols SCIP
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 # Checks out a copy of your repository on the ubuntu-latest machine
14 - name: Checkout code
15 uses: actions/checkout@v4
16 with:
17 # Make sure the actual branch is checked out when running on PR
18 ref: ${{ github.event.pull_request.head.sha }}
19 # Full git history needed to get proper list of changed files
20 fetch-depth: 0
21
22 # Runs the Super-Linter action
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 # Only check new or edited files
30 VALIDATE_ALL_CODEBASE: false
31 # Fail on errors
32 DISABLE_ERRORS: false
33 # shellcheck conf
34 SHELLCHECK_OPTS: -e SC1090,SC2046,SC2164,SC2166,SC1091,SC2086,SC2001,SC2219,SC2181