ci: add minimum GitHub token permissions for workflows (#1792)

Signed-off-by: Varun Sharma <varunsh@stepsecurity.io>
This commit is contained in:
Varun Sharma
2022-10-03 07:53:12 -07:00
committed by GitHub
parent 93d1913fb0
commit 23fc5e099f
4 changed files with 23 additions and 0 deletions

View File

@ -4,8 +4,13 @@ name: size-labeler
on: [pull_request_target]
permissions:
contents: read
jobs:
size-labeler:
permissions:
pull-requests: write # for codelytv/pr-size-labeler to add labels & comment on PRs
runs-on: ubuntu-latest
name: Label the PR size
steps: