-
Notifications
You must be signed in to change notification settings - Fork 14
39 lines (34 loc) · 1.1 KB
/
linter.yml
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
---
# Github's super linter
# https://github.com/github/super-linter
name: Super Linter
on: [push, pull_request]
jobs:
build:
name: Lint Code Base
runs-on: ubuntu-latest
timeout-minutes: 5
steps:
- name: Checkout Code
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: Run Super-Linter
uses: github/super-linter/slim@v6
env:
VALIDATE_ALL_CODEBASE: false
DEFAULT_BRANCH: main
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
LINTER_RULES_PATH: /
# Turn off the python validators we run with pre-commit (ruff)
VALIDATE_PYTHON_FLAKE8: false
VALIDATE_PYTHON_BLACK: false
VALIDATE_PYTHON_ISORT: false
VALIDATE_PYTHON_MYPY: false
VALIDATE_PYTHON_PYLINT: false
# Disable CHECKOV validation
VALIDATE_CHECKOV: false
# Don't run JSCPD - it's never useful, it's very verbose, and it's slow
VALIDATE_JSCPD: false