From f6934852d6c1372c278d75c36bf657ce2465803f Mon Sep 17 00:00:00 2001 From: 7w1 Date: Thu, 19 Mar 2026 22:28:50 -0500 Subject: [PATCH] Update release.yml --- .github/workflows/release.yml | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 8b2e647cb..d3314e27b 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -14,10 +14,18 @@ jobs: permissions: contents: write steps: + - name: Generate bot token + id: generate-token + uses: actions/create-github-app-token@f8d387b68d61c58ab83c6c016672934102569859 + with: + app-id: ${{ secrets.APP_ID }} + private-key: ${{ secrets.APP_PRIVATE_KEY }} + - uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2 with: fetch-depth: 0 - persist-credentials: false + persist-credentials: true + token: ${{ steps.generate-token.outputs.token }} - uses: knope-dev/action@19617851f9f13ab2f27a05989c55efb18aca3675 # v2.1.2 with: @@ -26,4 +34,4 @@ jobs: - name: Create Release run: knope release --verbose env: - GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} + GITHUB_TOKEN: ${{ steps.generate-token.outputs.token }}