File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1- name : lint
2-
3- on :
4- push :
5- branches : [ master ]
6- paths-ignore :
7- - ' **/*.gitattributes'
8- - ' **/*.gitignore'
9- - ' **/*.md'
10- pull_request :
11- branches : [ master ]
12- workflow_dispatch :
13-
14- permissions : {}
15-
16- env :
17- FORCE_COLOR : 3
18- TERM : xterm
19- ZIZMOR_VERSION : ' 1.16.3'
20-
21- jobs :
22- lint :
23- runs-on : ubuntu-latest
24-
25- permissions :
26- actions : read
27- contents : read
28- security-events : write
29-
30- steps :
31-
32- - name : Checkout code
33- uses : actions/checkout@1af3b93b6815bc44a9784bd300feb67ff0d1eeb3 # v6.0.0
34- with :
35- filter : ' tree:0'
36- persist-credentials : false
37- show-progress : false
38-
39- - name : Add actionlint problem matcher
40- run : echo "::add-matcher::.github/actionlint-matcher.json"
41-
42- - name : Lint workflows
43- uses : docker://rhysd/actionlint:1.7.9@sha256:a0383f60d92601e2694e24b24d37df7b6a40bed7cedbc447611c50009bf02d94
44- with :
45- args : -color
46-
47- - name : Lint workflows with zizmor
48- uses : zizmorcore/zizmor-action@e673c3917a1aef3c65c972347ed84ccd013ecda4 # v0.2 .0
49- with :
50- persona : pedantic
51- version : ${{ env.ZIZMOR_VERSION }}
52-
53- - name : Lint markdown
54- uses : DavidAnson/markdownlint-cli2-action@30a0e04f1870d58f8d717450cc6134995f993c63 # v21.0.0
55- with :
56- config : ' .markdownlint.json'
57- globs : |
58- **/*.md
1+ name : lint
2+
3+ on :
4+ push :
5+ branches : [ master ]
6+ paths-ignore :
7+ - ' **/*.gitattributes'
8+ - ' **/*.gitignore'
9+ - ' **/*.md'
10+ pull_request :
11+ branches : [ master ]
12+ workflow_dispatch :
13+
14+ permissions : {}
15+
16+ env :
17+ FORCE_COLOR : 3
18+ TERM : xterm
19+ ZIZMOR_VERSION : ' 1.16.3'
20+
21+ jobs :
22+ lint :
23+ runs-on : ubuntu-latest
24+
25+ permissions :
26+ actions : read
27+ contents : read
28+ security-events : write
29+
30+ steps :
31+
32+ - name : Checkout code
33+ uses : actions/checkout@1af3b93b6815bc44a9784bd300feb67ff0d1eeb3 # v6.0.0
34+ with :
35+ filter : ' tree:0'
36+ persist-credentials : false
37+ show-progress : false
38+
39+ - name : Add actionlint problem matcher
40+ run : echo "::add-matcher::.github/actionlint-matcher.json"
41+
42+ - name : Lint workflows
43+ uses : docker://rhysd/actionlint:1.7.9@sha256:a0383f60d92601e2694e24b24d37df7b6a40bed7cedbc447611c50009bf02d94
44+ with :
45+ args : -color
46+
47+ - name : Lint workflows with zizmor
48+ uses : zizmorcore/zizmor-action@e639db99335bc9038abc0e066dfcd72e23d26fb4 # v0.3 .0
49+ with :
50+ persona : pedantic
51+ version : ${{ env.ZIZMOR_VERSION }}
52+
53+ - name : Lint markdown
54+ uses : DavidAnson/markdownlint-cli2-action@30a0e04f1870d58f8d717450cc6134995f993c63 # v21.0.0
55+ with :
56+ config : ' .markdownlint.json'
57+ globs : |
58+ **/*.md
You can’t perform that action at this time.
0 commit comments