Skip to content

Commit

Permalink
Merge pull request #41 from dhensby/pulls/ci-fix
Browse files Browse the repository at this point in the history
Update github workflow permissions
  • Loading branch information
dhensby committed Oct 25, 2022
2 parents 6745e52 + 84381d2 commit 8c80bff
Showing 1 changed file with 9 additions and 2 deletions.
11 changes: 9 additions & 2 deletions .github/workflows/nodejs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,12 +10,17 @@ on:
- 'dependabot/**'
pull_request:

permissions:
contents: read

jobs:
lint:
name: Linting check
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3
with:
persist-credentials: false
- name: Code linting
uses: actions/setup-node@v2
with:
Expand All @@ -32,7 +37,9 @@ jobs:
node-version: [12.x, 14.x, 16.x, 18.x]
# See supported Node.js release schedule at https://nodejs.org/en/about/releases/
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3
with:
persist-credentials: false
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v2
with:
Expand Down

0 comments on commit 8c80bff

Please sign in to comment.