-
Notifications
You must be signed in to change notification settings - Fork 0
33 lines (33 loc) · 1.11 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
name: Code Linter
on: [pull_request]
jobs:
Build:
runs-on: ubuntu-latest
name: Code Linter
permissions:
contents: read
packages: read
statuses: write
steps:
- name: Checkout
uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Java Code Linter
uses: super-linter/super-linter/[email protected]
env:
DEFAULT_BRANCH: main
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
LINTER_RULES_PATH: '.github/'
JAVA_FILE_NAME: 'sun_checks.xml'
VALIDATE_BASH: false
VALIDATE_BASH_EXEC: false
VALIDATE_GITLEAKS: false
VALIDATE_GOOGLE_JAVA_FORMAT: false
VALIDATE_GROOVY: false
VALIDATE_JSCPD: false
VALIDATE_JSON: false
VALIDATE_MARKDOWN: false
VALIDATE_NATURAL_LANGUAGE: false
VALIDATE_XML: false
VALIDATE_YAML: false