From 10ef624a08de92979c4524b4f435943517332865 Mon Sep 17 00:00:00 2001 From: LogicDX342 <52480482+LogicDX342@users.noreply.github.com> Date: Thu, 7 Nov 2024 07:49:42 +0000 Subject: [PATCH] Add permissions for write access in release workflow --- .github/workflows/release.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 46e1911..f876e80 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -9,6 +9,9 @@ jobs: release: runs-on: ubuntu-latest + permissions: + contents: write + steps: - name: Checkout code uses: actions/checkout@v4 @@ -16,7 +19,4 @@ jobs: - name: Create GitHub Release uses: ncipollo/release-action@v1 with: - token: ${{ secrets.GITHUB_TOKEN }} - tag: ${{ github.ref }} - name: Release ${{ github.ref }} generateReleaseNotes: true