From 091e2d320ffcaf42d1c4395563f94d72dcd1d21d Mon Sep 17 00:00:00 2001 From: Rassaby Ludovic Date: Wed, 15 Oct 2025 15:26:12 +0400 Subject: [PATCH] Fix GitHub Actions release workflow - Update to softprops/action-gh-release@v1 and add permissions --- .github/workflows/release.yml | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 594044b..c0ab874 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -7,6 +7,8 @@ on: jobs: release: runs-on: ubuntu-latest + permissions: + contents: write steps: - name: 📥 Checkout code @@ -66,12 +68,12 @@ jobs: echo "EOF" >> $GITHUB_OUTPUT - name: 🏷️ Create GitHub Release - uses: actions/create-release@v1 - env: - GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} + uses: softprops/action-gh-release@v1 with: tag_name: ${{ github.ref_name }} - release_name: Release ${{ github.ref_name }} + name: Release ${{ github.ref_name }} body: ${{ steps.release_notes.outputs.notes }} draft: false prerelease: false + env: + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}