From ebb3580fadf585771f4c800b350573ec0a15bc97 Mon Sep 17 00:00:00 2001 From: MarvinF Date: Tue, 24 Jun 2025 21:47:56 +0200 Subject: [PATCH] Update build_release.yml --- .github/workflows/build_release.yml | 15 ++------------- 1 file changed, 2 insertions(+), 13 deletions(-) diff --git a/.github/workflows/build_release.yml b/.github/workflows/build_release.yml index 341e336..77fad19 100644 --- a/.github/workflows/build_release.yml +++ b/.github/workflows/build_release.yml @@ -30,24 +30,13 @@ jobs: uses: release-drafter/release-drafter@v6 with: config-name: release-drafter.yml + env: + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} - name: Save release notes to file run: | echo "${{ steps.release_notes.outputs.body }}" > RELEASE_NOTES.md - - name: Configure Git - run: | - git config user.name "github-actions[bot]" - git config user.email "github-actions[bot]@users.noreply.github.com" - - - name: Commit RELEASE_NOTES.md - env: - GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} - run: | - git add RELEASE_NOTES.md - git commit -m "Update RELEASE_NOTES.md for ${{ github.ref_name }}" || echo "No changes to commit" - git push - - name: Run build script run: npm run release