Add minimal token permissions

Signed-off-by: Pedro Kaj Kjellerup Nacht <pnacht@google.com>
This commit is contained in:
Pedro Kaj Kjellerup Nacht 2023-05-18 20:47:33 +00:00 committed by Nikolaus Rath
parent 4c177c9047
commit 6fc5ffd4bd
2 changed files with 7 additions and 0 deletions

View File

@ -7,6 +7,9 @@ on:
pull_request:
branches: [master]
permissions:
contents: read
jobs:
codespell:
name: Check for spelling errors

View File

@ -6,6 +6,10 @@ on:
pull_request:
branches:
- master
permissions:
contents: read
jobs:
build:
runs-on: '${{ matrix.os }}'