Skip to content

Commit

Permalink
ci: harden nodejs.yml permissions (#233)
Browse files Browse the repository at this point in the history
  • Loading branch information
sashashura committed Dec 9, 2022
1 parent a3fd3ca commit c382671
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions .github/workflows/nodejs.yml
Expand Up @@ -10,8 +10,15 @@ on:
- master
- next

permissions:
contents: read # to fetch code (actions/checkout)

jobs:
lint:
permissions:
contents: read # to fetch code (actions/checkout)
pull-requests: read # to get commits in PR (wagoid/commitlint-github-action)

name: Lint - ${{ matrix.os }} - Node v${{ matrix.node-version }}

env:
Expand Down

0 comments on commit c382671

Please sign in to comment.