Skip to content

Commit

Permalink
Set permissions for GitHub actions
Browse files Browse the repository at this point in the history
  • Loading branch information
naveensrinivasan authored Apr 15, 2022
1 parent 50b2900 commit 25a9563
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 @@ -6,6 +6,9 @@ on:
- stable*
pull_request:

permissions:
contents: read

jobs:
lint-js:
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 @@ -6,6 +6,9 @@ on:
- stable*
pull_request:

permissions:
contents: read

jobs:
test-api:
runs-on: ubuntu-latest
Expand Down

0 comments on commit 25a9563

Please sign in to comment.