From 9b5107e73d2987851bfe4d8b0a16fa3f74da43cf Mon Sep 17 00:00:00 2001 From: Peter Allen Webb Date: Sat, 1 Jun 2024 16:37:01 -0400 Subject: [PATCH] Move permissions --- .github/workflows/release.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 59af1370..fbdf47c2 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -39,6 +39,8 @@ jobs: update-version-and-create-changelog: name: Update Version and Create Changelog + permissions: + contents: write # this is the permission that allows creating a new release secrets: inherit uses: ./.github/workflows/release-prep.yml with: @@ -51,8 +53,6 @@ jobs: test-and-build: name: Test and Build needs: [update-version-and-create-changelog] - permissions: - contents: write # this is the permission that allows creating a new release runs-on: ubuntu-latest environment: name: ${{ inputs.deploy-to }}