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:
neilnaveen 2022-07-04 14:12:32 -05:00 • committed by GitHub
parent 8494f7515d
commit f135bfa3e5
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
5 changed files with 17 additions and 0 deletions

View file

@ -9,6 +9,9 @@ on:
pull_request:
branches: [master]
permissions:
contents: read
jobs:
build:
runs-on: ubuntu-latest