-
Notifications
You must be signed in to change notification settings - Fork 4
46 lines (42 loc) · 1.25 KB
/
lint.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
on:
push:
branches: [master, main]
pull_request:
branches: [master, main]
name: super-linter
jobs:
lint:
name: lint
runs-on: ubuntu-latest
permissions:
contents: read
packages: read
statuses: write
steps:
- name: Checkout
uses: actions/checkout@v4
with:
# Full git history is needed to get a proper
# list of changed files within `super-linter`
fetch-depth: 0
- name: Lint
uses: github/super-linter@v6
env:
VALIDATE_ALL_CODEBASE: false
DEFAULT_BRANCH: master
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
VALIDATE_MARKDOWN: false
# These tools are handled by pre-commit, so we don't need SuperLinter
# to run them as well
VALIDATE_CHECKOV: false
VALIDATE_SQLFLUFF: false
VALIDATE_PYTHON_BLACK: false
VALIDATE_PYTHON_FLAKE8: false
VALIDATE_PYTHON_ISORT: false
VALIDATE_PYTHON_PYLINT: false
VALIDATE_PYTHON_RUFF: false
# The natural language check slows down our velocity and is rarely
# helpful
VALIDATE_NATURAL_LANGUAGE: false
LINTER_RULES_PATH: /
YAML_CONFIG_FILE: .yamllint.yml