mirror of
https://github.com/nodejs/node.git
synced 2026-11-24 21:50:36 -05:00
build: add GitHub token permissions for workflows
Signed-off-by: Varun Sharma <varunsh@stepsecurity.io> PR-URL: https://github.com/nodejs/node/pull/43743 Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com> Reviewed-By: Rich Trott <rtrott@gmail.com>
This commit is contained in:
1 parent
1deb6b73b7
commit
364deeadcd
24 files changed
+93
No files matched your search
@@ -18,8 +18,13 @@ concurrency: ${{ github.workflow }}
|
||||
env:
|
||||
NODE_VERSION: lts/*
|
||||
|
||||
permissions:
|
||||
contents: read
|
||||
|
||||
jobs:
|
||||
get_mergeable_prs:
|
||||
permissions:
|
||||
pull-requests: read
|
||||
if: github.repository == 'nodejs/node'
|
||||
runs-on: ubuntu-latest
|
||||
outputs:
|
||||
|
||||
Reference in new issue
Block a user