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

@@ -24,8 +24,8 @@ on:
workflow_dispatch:
pull_request:
permissions: {}
permissions:
contents: read
jobs:
should-run: