-
Notifications
You must be signed in to change notification settings - Fork 10
36 lines (30 loc) · 900 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
---
# 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@a5ac7e51b41094c92402da3b24376905380afc29 # v4.1.6
with:
fetch-depth: 0
- name: Lint Code Base
uses: super-linter/super-linter@88ea3923a7e1f89dd485d079f6eb5f5e8f937589 # v6.6.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
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}