File tree Expand file tree Collapse file tree 3 files changed +1439
-3
lines changed Expand file tree Collapse file tree 3 files changed +1439
-3
lines changed Original file line number Diff line number Diff line change 11name : Markdown Lint
22
3+ permissions :
4+ contents : read
5+
36on :
47 pull_request :
58 paths :
@@ -11,15 +14,20 @@ jobs:
1114
1215 steps :
1316 - name : Checkout repo
14- uses : actions/checkout@v4
17+ uses : actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # pin@ v4
1518
1619 - name : Set up Node.js
17- uses : actions/setup-node@v4
20+ uses : actions/setup-node@49933ea5288caeca8642d1e84afbd3f7d6820020 # pin@ v4
1821 with :
1922 node-version : ' 18'
2023
2124 - name : Install markdownlint-cli
22- run : npm install -g markdownlint-cli
25+ run : |
26+ cp .github/workflows/package.json . && \
27+ cp .github/workflows/package-lock.json . && \
28+ npm install -g && \
29+ rm package.json && \
30+ rm package-lock.json && \
2331
2432 - name : Run markdownlint
2533 run : markdownlint '**/*.md' --ignore node_modules
You can’t perform that action at this time.
0 commit comments