chore: Set permissions for GitHub actions (#8550)
Restrict the GitHub token permissions only to just what is required and make them read-only where possible. Signed-off-by: neilnaveen <42328488+neilnaveen@users.noreply.github.com>
This commit is contained in:
parent
8494f7515d
commit
f135bfa3e5
5 changed files with 17 additions and 0 deletions
3
.github/workflows/nodejs.yml
vendored
3
.github/workflows/nodejs.yml
vendored
|
|
@ -9,6 +9,9 @@ on:
|
|||
pull_request:
|
||||
branches: [master]
|
||||
|
||||
permissions:
|
||||
contents: read
|
||||
|
||||
jobs:
|
||||
build:
|
||||
runs-on: ubuntu-latest
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue