aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPedro Kaj Kjellerup Nacht <pnacht@google.com>2023-05-18 20:47:33 +0000
committerNikolaus Rath <Nikolaus@rath.org>2023-05-19 18:37:46 +0100
commit6fc5ffd4bd37e57a446faa73a0a65ca9f4e6ac1d (patch)
treec4ac9076ebc3e7fc60cb9da42ece8fcf28d2bc78
parent4c177c904778c45ebd992b7f651af4f0039c550c (diff)
downloadlibfuse-6fc5ffd4bd37e57a446faa73a0a65ca9f4e6ac1d.tar.gz
Add minimal token permissions
Signed-off-by: Pedro Kaj Kjellerup Nacht <pnacht@google.com>
-rw-r--r--.github/workflows/codespell.yml3
-rw-r--r--.github/workflows/pr-ci.yml4
2 files changed, 7 insertions, 0 deletions
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 }}'