From 43b4ae7763a16e388befc51c7af452b686a81025 Mon Sep 17 00:00:00 2001 From: Paul Schneider Date: Sun, 15 Nov 2026 00:09:11 +0000 Subject: [PATCH] permission field is not supported in Forgejo --- .forgejo/workflows/release.yml | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) diff --git a/.forgejo/workflows/release.yml b/.forgejo/workflows/release.yml index de61bd43d..3e161f3e4 100644 --- a/.forgejo/workflows/release.yml +++ b/.forgejo/workflows/release.yml @@ -2,10 +2,7 @@ # with the PostIt Android APK as an attached asset. # # Triggered by a push of a git tag. Validates the tag/changelog pair, -# builds the APK using the existing Dockerfile (--target build-env), then -# publishes a Forgejo release via the Forgejo REST API and uploads the -# APK as an asset. -# +# builds the APK using the existing Dockerfile (--target bupermissions # Authentication uses ${{ secrets.GITHUB_TOKEN }} (auto-provided by the # Forgejo runner, scoped to contents: write for the current repo). A # dedicated PAT (${{ secrets.RELEASE_TOKEN }}) was the preferred option @@ -43,9 +40,6 @@ on: required: true type: string -permissions: - contents: write - jobs: # Job unique : validation tag/CHANGELOG + build APK + publication # via l'API REST Forgejo (pas d'actions tierces Node).