chore(ci): ensure minimal permission for github default token

With recent enforcing of the least permissions for GITHUB_TOKEN, pull-request from external contributors would trigger systematic error (i.e. on repository checkout) in the continuous integration pipeline.
Allowing contents:read fixes this behavior.
This commit is contained in:
David Testé
2025-05-12 16:04:11 +02:00
committed by David Testé
parent ca1c5659a1
commit aa6dadfe69
29 changed files with 59 additions and 58 deletions

View File

@@ -29,8 +29,8 @@ on:
# Nightly tests @ 1AM after each work day
- cron: "0 1 * * MON-FRI"
permissions: {}
permissions:
contents: read
jobs:
should-run: