.github: grant workflows only the permissions they use

The repository default token can write; set read and widen per job.
This commit is contained in:
Kristoffer Dalby committed 2026-11-20 19:47:15 +01:00
1 parent b01e8e0980
commit 1dcb57cb8c
8 files changed
+29 -1

No files matched your search

+3
View File
@@ -6,6 +6,9 @@ concurrency:
group: ${{ github.workflow }}-$${{ github.head_ref || github.run_id }}
cancel-in-progress: true
permissions:
contents: read
jobs:
test:
runs-on: ubuntu-latest