From 9f144bfc20c8eda601e097d1d15a8db3478d4a22 Mon Sep 17 00:00:00 2001 From: Benjamin Leggett Date: Fri, 24 Jul 2026 11:57:01 -0400 Subject: [PATCH] fix(ci): scope token --- .github/workflows/release.yml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 081a788..838e591 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -52,6 +52,9 @@ jobs: with: app-id: "${{ secrets.EDERA_CULTIVATION_APP_ID }}" private-key: "${{ secrets.EDERA_CULTIVATION_APP_PRIVATE_KEY }}" + # Scope to what uploading assets and `gh release edit` need: write to + # release contents. + permission-contents: write if: ${{ github.event.inputs.release-tag != '' }} - name: 'upload release artifacts'