From 03037e2a9aeb8c3f734a551b6e37ab884dd4dc5e Mon Sep 17 00:00:00 2001 From: Louis Lam Date: Wed, 9 Jul 2025 22:22:55 +0800 Subject: [PATCH] Delete .github/workflows/pr-reply.yml (#5975) --- .github/workflows/pr-reply.yml | 36 ---------------------------------- 1 file changed, 36 deletions(-) delete mode 100644 .github/workflows/pr-reply.yml diff --git a/.github/workflows/pr-reply.yml b/.github/workflows/pr-reply.yml deleted file mode 100644 index 48752e641..000000000 --- a/.github/workflows/pr-reply.yml +++ /dev/null @@ -1,36 +0,0 @@ -# Replys a message to all new PRs -# The message: -# - Say hello and thanks to the contributor -# - Mention maintainers will review the PR soon -# - To other people, show the testing pr command: npx kuma-pr -# - Also show the advanced usage link: https://github.com/louislam/uptime-kuma/wiki/Test-Pull-Requests -name: Reply to PRs -on: - pull_request: - types: [opened, reopened] - -permissions: - issues: write - pull-requests: write - contents: read - -jobs: - reply: - runs-on: ubuntu-latest - steps: - - name: Reply to PR - uses: actions/github-script@v7 - with: - script: | - const pr = context.payload.pull_request; - const message = `Hello @${pr.user.login}, thank you for your contribution! :tada:\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` + - `\`\`\`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) `; - await github.rest.issues.createComment({ - issue_number: pr.number, - owner: context.repo.owner, - repo: context.repo.repo, - body: message - });