Skip to content

Commit c1c8ce2

Browse files
committed
use github app for workflow
1 parent 3fe960c commit c1c8ce2

1 file changed

Lines changed: 6 additions & 0 deletions

File tree

.github/workflows/compare.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -94,8 +94,14 @@ jobs:
9494
cat diff-$outarch/config.diff >> diff.output &&
9595
echo '```' >> diff.output);
9696
done
97+
- uses: tibdex/github-app-token@v2.1.0
98+
id: gettoken
99+
with:
100+
app_id: 337143
101+
private_key: ${{ secrets.GH_APP_PRIVKEY }}
97102
- uses: peter-evans/create-or-update-comment@v4
98103
with:
104+
token: ${{ steps.gettoken.outputs.token }}
99105
comment-id: ${{ steps.fc.outputs.comment-id }}
100106
issue-number: ${{ github.event.pull_request.number }}
101107
body-path: diff.output

0 commit comments

Comments
 (0)