Skip to content

Commit bb2eeb7

Browse files
committed
Address code scanning warnings
1 parent e6352ae commit bb2eeb7

File tree

3 files changed

+1439
-3
lines changed

3 files changed

+1439
-3
lines changed

.github/workflows/markdownlint.yml

Lines changed: 11 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,8 @@
11
name: Markdown Lint
22

3+
permissions:
4+
contents: read
5+
36
on:
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

0 commit comments

Comments
 (0)