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
+3
View File
@@ -7,6 +7,9 @@ on:
pull_request: pull_request:
branches: [master] branches: [master]
permissions:
contents: read
jobs: jobs:
codespell: codespell:
name: Check for spelling errors name: Check for spelling errors
+4
View File
@@ -6,6 +6,10 @@ on:
pull_request: pull_request:
branches: branches:
- master - master
permissions:
contents: read
jobs: jobs:
build: build:
runs-on: '${{ matrix.os }}' runs-on: '${{ matrix.os }}'