From bde568f462c58d86053e4473ec60276d4aadda06 Mon Sep 17 00:00:00 2001 From: Adam Plowman Date: Wed, 21 Jan 2026 12:17:17 +0000 Subject: [PATCH] Update release workflow permissions and conditions --- .github/workflows/release.yml | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 1829f35..660487c 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -10,6 +10,11 @@ on: branches: [main, develop] types: [closed] +permissions: + id-token: write + contents: write + pull-requests: read + jobs: bump-version: if: @@ -25,9 +30,7 @@ jobs: ) ) ) - runs-on: ubuntu-latest - permissions: - contents: write + runs-on: ubuntu-latest outputs: new_tag_name: ${{ steps.get_new_tag.outputs.new_tag_name }} steps: