From 6fc5ffd4bd37e57a446faa73a0a65ca9f4e6ac1d Mon Sep 17 00:00:00 2001 From: Pedro Kaj Kjellerup Nacht Date: Thu, 18 May 2023 20:47:33 +0000 Subject: [PATCH] Add minimal token permissions Signed-off-by: Pedro Kaj Kjellerup Nacht --- .github/workflows/codespell.yml | 3 +++ .github/workflows/pr-ci.yml | 4 ++++ 2 files changed, 7 insertions(+) diff --git a/.github/workflows/codespell.yml b/.github/workflows/codespell.yml index 5768d7c..1ae78d4 100644 --- a/.github/workflows/codespell.yml +++ b/.github/workflows/codespell.yml @@ -7,6 +7,9 @@ on: pull_request: branches: [master] +permissions: + contents: read + jobs: codespell: name: Check for spelling errors diff --git a/.github/workflows/pr-ci.yml b/.github/workflows/pr-ci.yml index 401b768..ef1da4c 100644 --- a/.github/workflows/pr-ci.yml +++ b/.github/workflows/pr-ci.yml @@ -6,6 +6,10 @@ on: pull_request: branches: - master + +permissions: + contents: read + jobs: build: runs-on: '${{ matrix.os }}'