-
-
Notifications
You must be signed in to change notification settings - Fork 0
35 lines (33 loc) · 1.04 KB
/
pull_request.yml
File metadata and controls
35 lines (33 loc) · 1.04 KB
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
name: Lint Code Base
on:
pull_request:
branches:
- main
jobs:
lint:
runs-on: ubuntu-latest
permissions:
contents: 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 Code Base
uses: super-linter/super-linter@v7
env:
VALIDATE_CHECKOV: false
VALIDATE_KUBERNETES_KUBECONFORM: false
VALIDATE_GO: false # disable the linting process of the individual Go files
VALIDATE_YAML: false
VALIDATE_YAML_PRETTIER: false
VALIDATE_MARKDOWN_PRETTIER: false
VALIDATE_GO_RELEASER: false
VALIDATE_EDITORCONFIG: false
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
LINTER_RULES_PATH: .github/linters
FILTER_REGEX_EXCLUDE: ".*(demo|gollm)/.*|pkg/agent/.*"
JSCPD_CONFIG_FILE: .jscpd.json
SQLFLUFF_CONFIG_FILE: .sqlfluff