-
Notifications
You must be signed in to change notification settings - Fork 3
48 lines (41 loc) · 1.42 KB
/
lint.yml
File metadata and controls
48 lines (41 loc) · 1.42 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
36
37
38
39
40
41
42
43
44
45
46
47
48
name: 'Lint'
on: workflow_call
defaults:
run:
shell: bash
jobs:
# TODO: Taking 40m fix in a separate PR
# md-link-check:
# name: 'Broken Markdown links'
# runs-on: ubuntu-latest
# steps:
# - uses: actions/checkout@v6
# - name: Run Markdown link check
# uses: gaurav-nelson/github-action-markdown-link-check@v1
# with:
# config-file: '.github/linters/mlc_config.json'
# use-quiet-mode: 'yes'
super-lint:
name: 'Super Linter'
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v6
with:
fetch-depth: 0 # Required to fetch version
- name: Run Super Linter
uses: super-linter/super-linter/slim@v5
env:
IGNORE_GITIGNORED_FILES: true
DEFAULT_BRANCH: main
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
LOG_LEVEL: WARN
VALIDATE_ALL_CODEBASE: true
MULTI_STATUS: true
VALIDATE_GITHUB_ACTIONS: true
VALIDATE_JAVASCRIPT_ES: true
VALIDATE_JSONC: true
VALIDATE_JSX: true
VALIDATE_MARKDOWN: true
VALIDATE_OPENAPI: true
VALIDATE_TYPESCRIPT_ES: true
VALIDATE_YAML: true