-
Notifications
You must be signed in to change notification settings - Fork 6
41 lines (38 loc) · 1.21 KB
/
ci.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
39
40
41
name: ci
on:
workflow_dispatch:
push:
branches:
- main
- release/*
pull_request:
branches:
- main
- release/*
permissions: read-all
jobs:
lint:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1
with:
fetch-depth: 0
- name: Megalinter
uses: oxsecurity/megalinter@a7a0163b6c8ff7474a283d99a706e27483ddd80f # v7.10.0
env:
APPLY_FIXES: "none"
BASH_SHFMT_DISABLE_ERRORS: "false"
DISABLE_LINTERS: MARKDOWN_MARKDOWN_LINK_CHECK,REPOSITORY_CHECKOV,REPOSITORY_SECRETLINT,REPOSITORY_TRIVY,REPOSITORY_TRUFFLEHOG,SPELL_CSPELL,SPELL_LYCHEE
FILTER_REGEX_EXCLUDE: .*/ISSUE_TEMPLATE/.*
FLAVOR_SUGGESTIONS: "false"
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
JSON_PRETTIER_DISABLE_ERRORS: "false"
LOG_LEVEL: WARN
MARKDOWN_MARKDOWNLINT_DISABLE_ERRORS: "false"
PRINT_ALL_FILES: "false"
PRINT_ALPACA: "false"
SHOW_ELAPSED_TIME: "true"
SPELL_MISSPELL_DISABLE_ERRORS: "true"
VALIDATE_ALL_CODEBASE: "true"
YAML_PRETTIER_DISABLE_ERRORS: "false"