ci: grant contents:read so checkout works on this private fork

This commit is contained in:
2026-08-04 07:11:37 +02:00
parent 2221bf2972
commit 9475ec3a48
9 changed files with 52 additions and 9 deletions
+5 -1
View File
@@ -7,7 +7,11 @@ on:
push:
branches: [ main, develop ]
permissions: {}
permissions:
# Private fork: actions/checkout needs contents:read to clone. Upstream is public,
# where an empty token can still read the repo, so an empty permissions block works there and
# fails here with `fatal: repository not found`.
contents: read
# Enrich gradle.properties for CI/CD
env: