File tree Expand file tree Collapse file tree 3 files changed +223
-122
lines changed Expand file tree Collapse file tree 3 files changed +223
-122
lines changed Original file line number Diff line number Diff line change
1
+ ---
2
+ name : Markdown-Linter
3
+
4
+ on :
5
+ pull_request :
6
+ branches : [main]
7
+ paths :
8
+ - ' **.md'
9
+
10
+ concurrency :
11
+ group : ${{ github.workflow }}-${{ github.event.pull_request.number }}
12
+ cancel-in-progress : true
13
+
14
+ jobs :
15
+ build :
16
+ name : Linter
17
+ runs-on : ubuntu-22.04
18
+
19
+ permissions :
20
+ contents : read
21
+ packages : read
22
+ # To report GitHub Actions status checks
23
+ statuses : write
24
+
25
+ steps :
26
+ - name : Checkout code
27
+ uses : actions/checkout@v4
28
+ with :
29
+ # super-linter needs the full git history to get the
30
+ # list of files that changed across commits
31
+ fetch-depth : 0
32
+
33
+ - name : Super-linter
34
+ uses :
super-linter/[email protected]
35
+ env :
36
+ VALIDATE_ALL_CODEBASE : false
37
+ GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
38
+ VALIDATE_MARKDOWN : true
39
+ DEFAULT_BRANCH : ${{ github.base_ref }}
You can’t perform that action at this time.
0 commit comments