-
Notifications
You must be signed in to change notification settings - Fork 9
38 lines (32 loc) · 984 Bytes
/
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
---
# Documentation: https://docs.github.com/en/actions/learn-github-actions/workflow-syntax-for-github-actions
name: Lint Code Base
on:
push:
branches: [ main ]
pull_request:
branches: [ main ]
permissions:
contents: read
jobs:
build:
name: Lint Code Base
runs-on: ubuntu-latest
steps:
- name: Repository checkout
uses: actions/checkout@d632683dd7b4114ad314bca15554477dd762a938 # v4.2.0
with:
fetch-depth: 0
- name: Lint Code Base
uses: super-linter/super-linter@b92721f792f381cedc002ecdbb9847a15ece5bb8 # v7.1.0
env:
DEFAULT_BRANCH: main
VALIDATE_ALL_CODEBASE: false
VALIDATE_BASH: false
VALIDATE_BASH_EXEC: false
VALIDATE_CHECKOV: false
VALIDATE_JSCPD: false
VALIDATE_SHELL_SHFMT: false
VALIDATE_YAML_PRETTIER: false
VALIDATE_MARKDOWN_PRETTIER: false
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}