Skip to content

Commit

Permalink
Make GitHub Actions workflow more secure (#2154)
Browse files Browse the repository at this point in the history
Co-authored-by: Sindre Sorhus <sindresorhus@gmail.com>
  • Loading branch information
ashishkurmi and sindresorhus authored Oct 3, 2022
1 parent a4482a5 commit 07afa3c
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@ name: CI
on:
- push
- pull_request
permissions:
contents: read
jobs:
test:
name: Node.js ${{ matrix.node-version }} on ${{ matrix.os }}
Expand Down

0 comments on commit 07afa3c

Please sign in to comment.