Update .github/workflows/pr-reply.yml

Co-authored-by: Frank Elsinga <frank@elsinga.de>
This commit is contained in:
Louis Lam 2025-06-23 16:59:45 +08:00 committed by GitHub
parent 9779c3ab03
commit 0b88c81806
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -19,11 +19,11 @@ jobs:
with: with:
script: | script: |
const pr = context.payload.pull_request; const pr = context.payload.pull_request;
const message = `Hello @${pr.user.login}, thank you for your contribution! :tada:\n\n` + const message = `Hello @${pr.user.login}, thank you for your contribution! :tada:\n` +
`The maintainers will review your PR soon.\n\n` + `The maintainers will review your PR soon.\n\n` +
`If anyone would like to help test this PR, you can use the command:\n` + `If anyone would like to help test this PR, you can use the command:\n` +
`\`\`\`bash\nnpx kuma-pr ${pr.user.login}:${pr.head.ref}\n\`\`\`\n\n` + `\`\`\`bash\nnpx kuma-pr ${pr.user.login}:${pr.head.ref}\n\`\`\`\n\n` +
`For advanced usage, please refer to our [wiki](https://github.com/louislam/uptime-kuma/wiki/Test-Pull-Requests)`; `<sub> For advanced usage, please refer to our [wiki](https://github.com/louislam/uptime-kuma/wiki/Test-Pull-Requests) </sub>`;
await github.rest.issues.createComment({ await github.rest.issues.createComment({
issue_number: pr.number, issue_number: pr.number,
owner: context.repo.owner, owner: context.repo.owner,