Skip to content

Commit

Permalink
CI: add permissions
Browse files Browse the repository at this point in the history
  • Loading branch information
XhmikosR committed May 5, 2023
1 parent 8b36518 commit fab7068
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .github/workflows/lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,9 @@ env:
FORCE_COLOR: 2
NODE: 18

permissions:
contents: read

jobs:
lint:
runs-on: ubuntu-latest
Expand Down
3 changes: 3 additions & 0 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,9 @@ env:
FORCE_COLOR: 2
NODE_COV: 18 # The Node.js version to run coverage on

permissions:
contents: read

jobs:
run:
name: Node ${{ matrix.node }} on ${{ matrix.os }}
Expand Down

0 comments on commit fab7068

Please sign in to comment.