From 9314c40ca87da119656ebf923201e94f3c2b4d02 Mon Sep 17 00:00:00 2001 From: Yukari Chiba Date: Mon, 13 Oct 2025 17:23:48 +0800 Subject: [PATCH] use github app for workflow --- .github/workflows/compare.yml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/.github/workflows/compare.yml b/.github/workflows/compare.yml index c6cbf44..fc18293 100644 --- a/.github/workflows/compare.yml +++ b/.github/workflows/compare.yml @@ -94,8 +94,14 @@ jobs: cat diff-$outarch/config.diff >> diff.output && echo '```' >> diff.output); done + - uses: tibdex/github-app-token@v2.1.0 + id: gettoken + with: + app_id: 337143 + private_key: ${{ secrets.GH_APP_PRIVKEY }} - uses: peter-evans/create-or-update-comment@v4 with: + token: ${{ steps.gettoken.outputs.token }} comment-id: ${{ steps.fc.outputs.comment-id }} issue-number: ${{ github.event.pull_request.number }} body-path: diff.output