From d0c0a773ec3b69ddc7de323a64a24083f7469b4e Mon Sep 17 00:00:00 2001 From: Marc Nuri Date: Fri, 14 Feb 2025 06:58:12 +0100 Subject: [PATCH] fix(ci): release needs workflow permissions I forgot I disabled stuff user/org wide for security purposes. --- .github/workflows/release.yaml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml index 81b21e2..fde823e 100644 --- a/.github/workflows/release.yaml +++ b/.github/workflows/release.yaml @@ -13,6 +13,10 @@ concurrency: env: GO_VERSION: 1.23 +permissions: + contents: write + discussions: write + jobs: build: name: Build @@ -30,7 +34,6 @@ jobs: - name: Upload artifacts uses: softprops/action-gh-release@v2 with: - token: ${{ secrets.GITHUB_TOKEN }} generate_release_notes: true make_latest: true files: |