From 0a11459201f1fa54eac67f55cbc59987505b9e53 Mon Sep 17 00:00:00 2001 From: Wil Wade Date: Tue, 30 Apr 2024 08:21:09 -0400 Subject: [PATCH] Setting GHA permissions to write to create release and release branch --- .github/workflows/release.yml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 6d811d59b6..103a73a77d 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -19,6 +19,9 @@ on: description: "Release version (v#.#.#[-rc#])" required: true +permissions: + contents: write + env: NEW_RELEASE_TAG_FROM_UI: v0.0.1-rc3 NEW_RELEASE_TAG: v0.0.1-rc3 @@ -55,9 +58,7 @@ jobs: - name: Check Out Repo uses: actions/checkout@v4 with: - token: ${{secrets.GHA_GIT_COMMIT || github.token}} fetch-depth: 0 - ref: ubicloud - name: Create Release Branch? id: create-release-branch run: |