Skip to content

Commit 9370e54

Browse files
authored
ci: Fix release step (#425)
Provide required permissions and remove obsolete 'token' field. Signed-off-by: Robert Gogolok <robert.gogolok@stackit.cloud>
1 parent 06adb85 commit 9370e54

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

.github/workflows/ci.yaml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -93,6 +93,8 @@ jobs:
9393
- build
9494
if: ${{ startsWith(github.ref, 'refs/tags/v') }}
9595
runs-on: ubuntu-latest
96+
permissions:
97+
contents: write
9698
steps:
9799
- name: Checkout
98100
uses: actions/checkout@v4
@@ -125,7 +127,6 @@ jobs:
125127
name: kp v${{ env.VERSION }}
126128
tag_name: v${{ env.VERSION }}
127129
target_commitish: ${{ github.sha }}
128-
token: ${{ secrets.RELEASE_TOKEN }}
129130
draft: true
130131
prerelease: true
131132
generate_release_notes: true

0 commit comments

Comments
 (0)