From 96748fa5bbc5e0a788975ef02c595a0f35cd274f Mon Sep 17 00:00:00 2001 From: Boshen Date: Wed, 22 Apr 2026 13:41:10 +0800 Subject: [PATCH] Revert "ci: use bot PAT for release (#79)" This reverts commit 5660567407c4ccc50c99ff0187cdedabbfb6e494. --- .github/workflows/release.yml | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 4004c304..9fabad27 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -16,6 +16,12 @@ jobs: contents: write id-token: write steps: + - uses: actions/create-github-app-token@1b10c78c7865c340bc4f6099eb2f838309f1e8c3 # v3.1.1 + id: app-token + with: + client-id: ${{ secrets.APP_ID }} + private-key: ${{ secrets.APP_PRIVATE_KEY }} + - uses: oxc-project/release-plz@e2b12f55ad64a22af8e93634b94439c42913afca # v1.0.6 with: - PAT: ${{ secrets.ROLLDOWN_BOT_PAT }} + PAT: ${{ steps.app-token.outputs.token }}