Skip to content

Commit a251aba

Browse files
committed
Set permissions; do not persist credentials.
1 parent 6e07524 commit a251aba

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

.github/workflows/main.yml

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,8 @@
11
name: Generate W3C Interoperability Report
22

3+
permissions:
4+
contents: read
5+
36
on:
47
workflow_dispatch:
58
push:
@@ -16,6 +19,8 @@ jobs:
1619
node-version: [20.x]
1720
steps:
1821
- uses: actions/checkout@v4
22+
with:
23+
persist-credentials: false
1924
- name: Use Node.js ${{ matrix.node-version }}
2025
uses: actions/setup-node@v4
2126
with:
@@ -47,7 +52,7 @@ jobs:
4752
run: npm run test
4853
continue-on-error: true
4954
- name: Deploy to Github Pages
50-
uses: JamesIves/github-pages-deploy-action@4.1.5
55+
uses: JamesIves/github-pages-deploy-action@6c2d9db40f9296374acc17b90404b6e8864128c8 # v4.7.3
5156
with:
5257
branch: gh-pages
5358
folder: reports

0 commit comments

Comments
 (0)