Skip to content

Commit

Permalink
Setting GHA permissions to write to create release and release branch
Browse files Browse the repository at this point in the history
  • Loading branch information
wilwade committed Apr 30, 2024
1 parent 0b3ce58 commit 0a11459
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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: |
Expand Down

0 comments on commit 0a11459

Please sign in to comment.