From 0519456318f85118daf5e8b4b0482eaafc1c9001 Mon Sep 17 00:00:00 2001 From: benbenbang Date: Wed, 30 Sep 2026 11:04:45 +0800 Subject: [PATCH] ci(github): use correct secret for github app private key Update the semantic-release workflow to reference the `TECHNICAL_APP_PUB_PEM` secret instead of `TECHNICAL_APP_PEM` when generating the GitHub App token, ensuring the correct private key is used for authentication. --- .github/workflows/semantic-release.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/semantic-release.yml b/.github/workflows/semantic-release.yml index cc9d884..c81f2ae 100644 --- a/.github/workflows/semantic-release.yml +++ b/.github/workflows/semantic-release.yml @@ -63,7 +63,7 @@ jobs: uses: actions/create-github-app-token@v1 with: app-id: ${{ secrets.TECHNICAL_APP_APP_ID }} - private-key: ${{ secrets.TECHNICAL_APP_PEM }} + private-key: ${{ secrets.TECHNICAL_APP_PUB_PEM }} - name: configure Git with token # Use generated token for git authentication run: | git config --global --add safe.directory $GITHUB_WORKSPACE @@ -123,7 +123,7 @@ jobs: uses: actions/create-github-app-token@v1 with: app-id: ${{ secrets.TECHNICAL_APP_APP_ID }} - private-key: ${{ secrets.TECHNICAL_APP_PEM }} + private-key: ${{ secrets.TECHNICAL_APP_PUB_PEM }} - name: update release title id: update-release-title run: |