forked from NextCommunity/NextCommunity.github.io
-
Notifications
You must be signed in to change notification settings - Fork 0
36 lines (33 loc) · 995 Bytes
/
super-linter.yml
File metadata and controls
36 lines (33 loc) · 995 Bytes
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
name: Super-Linter
on:
pull_request:
push:
branches:
- main
permissions: {}
jobs:
build:
name: Run Super-Linter
runs-on: ubuntu-latest
permissions:
# contents permission to clone the repository
contents: read
steps:
- name: Checkout Code
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
with:
# super-linter needs the full git history to get the
# list of files that changed across commits
fetch-depth: 0
persist-credentials: false
- name: Super-Linter
uses: super-linter/super-linter@61abc07d755095a68f4987d1c2c3d1d64408f1f9 # v8.5.0
env:
ERROR_ON_MISSING_EXEC_BIT: true
VALIDATE_EDITORCONFIG: true
VALIDATE_JSON: true
VALIDATE_MARKDOWN: true
VALIDATE_YAML: true
VALIDATE_BIOME_LINT: true
VALIDATE_BIOME_FORMAT: true
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}