Skip to content

Commit 93e164b

Browse files
keiloktqlclaude
andauthored
chore: harden GitHub Actions (P-2208) (#80)
- docs-ci.yml: added permissions: contents: read; SHA-pinned actions/checkout and actions/setup-node; persist-credentials: false on checkout Refs P-2208. Co-authored-by: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
1 parent 9ecf970 commit 93e164b

1 file changed

Lines changed: 6 additions & 2 deletions

File tree

.github/workflows/docs-ci.yml

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,12 +17,16 @@ on:
1717
jobs:
1818
lint:
1919
runs-on: ubuntu-latest
20+
permissions:
21+
contents: read
2022
steps:
2123
- name: Checkout
22-
uses: actions/checkout@v4
24+
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
25+
with:
26+
persist-credentials: false
2327

2428
- name: Setup Node
25-
uses: actions/setup-node@v4
29+
uses: actions/setup-node@48b55a011bda9f5d6aeb4c2d9c7362e8dae4041e # v6.4.0
2630
with:
2731
node-version: 20
2832

0 commit comments

Comments
 (0)