From 61cd822655d9aaa01829e9f49d85964531af60d9 Mon Sep 17 00:00:00 2001 From: Yinan Zhou Date: Thu, 19 Mar 2026 15:05:01 -0400 Subject: [PATCH] fix(ci): use GitHub App token in auto-release - this is needed for auto-release workflow to trigger cd_prod workflow closes: #532 --- .github/workflows/auto_release.yml | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/.github/workflows/auto_release.yml b/.github/workflows/auto_release.yml index 641bc8b4..0c35f6d4 100644 --- a/.github/workflows/auto_release.yml +++ b/.github/workflows/auto_release.yml @@ -18,7 +18,14 @@ jobs: with: fetch-depth: 0 + - name: Generate GitHub App token + uses: actions/create-github-app-token@v1 + id: app-token + with: + app-id: ${{ secrets.APP_ID }} + private-key: ${{ secrets.APP_PRIVATE_KEY }} + - name: Semantic Release uses: cycjimmy/semantic-release-action@v4 env: - GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} + GITHUB_TOKEN: ${{ steps.app-token.outputs.token }}