Skip to content

Commit 07afa3c

Browse files
Make GitHub Actions workflow more secure (#2154)
Co-authored-by: Sindre Sorhus <[email protected]>
1 parent a4482a5 commit 07afa3c

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

.github/workflows/main.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,8 @@ name: CI
22
on:
33
- push
44
- pull_request
5+
permissions:
6+
contents: read
57
jobs:
68
test:
79
name: Node.js ${{ matrix.node-version }} on ${{ matrix.os }}

0 commit comments

Comments
 (0)