There was an error while loading. Please reload this page.
1 parent 19e035d commit 11bc01aCopy full SHA for 11bc01a
1 file changed
.github/workflows/linter.yaml
@@ -0,0 +1,37 @@
1
+name: Lint
2
+
3
+on:
4
+ pull_request:
5
+ push:
6
+ branches:
7
+ - main
8
9
+permissions:
10
+ contents: read
11
+ statuses: write
12
13
+jobs:
14
+ lint:
15
+ name: Super-Linter
16
+ runs-on: ubuntu-latest
17
18
+ steps:
19
+ - name: Checkout code
20
+ uses: actions/checkout@v4
21
+ with:
22
+ fetch-depth: 0
23
24
+ - name: Run Super-Linter
25
+ uses: super-linter/super-linter@v8
26
+ env:
27
+ GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
28
+ DEFAULT_BRANCH: main
29
+ VALIDATE_ALL_CODEBASE: false
30
+ VALIDATE_JSON: true
31
+ VALIDATE_YAML: true
32
+ VALIDATE_GITHUB_ACTIONS: true
33
+ VALIDATE_GIT_MERGE_CONFLICT_MARKERS: true
34
+ VALIDATE_JSON_PRETTIER: true
35
+ VALIDATE_JSONC_PRETTIER: true
36
+ VALIDATE_MARKDOWN_PRETTIER: true
37
+ VALIDATE_YAML_PRETTIER: true
0 commit comments