From c001fcf6c7741d88c801d583a94dc9cd8a0ad46a Mon Sep 17 00:00:00 2001 From: Ruben van der Linde Date: Fri, 20 Nov 2026 11:41:27 +0100 Subject: [PATCH] ci(templates): scope packages: write to the app-deploy image job The workflow-level permissions now grant contents: read only; the image job, which pushes to ghcr.io, gets packages: write. Same change as ConductionNL/openregister#10938, so a re-render keeps it. Assisted-by: ClaudeCode:claude-opus-5-5 --- templates/app-deploy/workflows/container-image.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/templates/app-deploy/workflows/container-image.yml b/templates/app-deploy/workflows/container-image.yml index cbf1cae8..c09eb692 100644 --- a/templates/app-deploy/workflows/container-image.yml +++ b/templates/app-deploy/workflows/container-image.yml @@ -25,7 +25,6 @@ on: permissions: contents: read - packages: write concurrency: group: container-image @@ -35,6 +34,9 @@ jobs: image: if: github.event_name != 'workflow_run' || github.event.workflow_run.conclusion == 'success' runs-on: ubuntu-latest + permissions: + contents: read + packages: write steps: - name: Resolve the release id: release