From d9f82ebfce4b7e45ee3f187ea84226ad1974b015 Mon Sep 17 00:00:00 2001 From: Yikun Jiang Date: Wed, 30 Jul 2025 10:14:33 +0800 Subject: [PATCH] [misc] Add reminder comment when PR submitted (#2092) ### What this PR does / why we need it? Add reminder comment when PR submitted ### Does this PR introduce _any_ user-facing change? No ### How was this patch tested? Test locally: https://github.com/Yikun/vllm-ascend/pull/51#issuecomment-3132425126 This PR will take effect after this PR merged. - vLLM version: v0.10.0 - vLLM main: https://github.com/vllm-project/vllm/commit/0e36abf9931baa070609376debb4fb3772f4a3fe Signed-off-by: Yikun Jiang --- .github/workflows/reminder_comment.yml | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) create mode 100644 .github/workflows/reminder_comment.yml diff --git a/.github/workflows/reminder_comment.yml b/.github/workflows/reminder_comment.yml new file mode 100644 index 0000000..64aa0f3 --- /dev/null +++ b/.github/workflows/reminder_comment.yml @@ -0,0 +1,26 @@ +name: PR Reminder Comment Bot +permissions: + pull-requests: write +on: + pull_request_target: + types: [opened] +jobs: + pr_reminder: + runs-on: ubuntu-latest + steps: + - name: Remind to run full CI on PR + uses: actions/github-script@60a0d83039c74a4aee543508d2ffcb1c3799cdea # v7.0.1 + with: + script: | + github.rest.issues.createComment({ + owner: context.repo.owner, + repo: context.repo.repo, + issue_number: context.issue.number, + body: 'πŸ‘‹ Hi! Thank you for contributing to the vLLM Ascend project. The following points will speed up your PR merge:β€Œβ€Œ\n\n' + + '- A PR should do only one thing, smaller PRs enable faster reviews.\n' + + '- Every PR should include unit tests and end-to-end tests β€Œto ensure it works and is not broken by other future PRs.\n' + + '- Write the commit message by fulfilling the PR description to help reviewer and future developers understand.\n\n' + + 'If CI fails, you can run linting and testing checks locally according [Contributing](https://vllm-ascend.readthedocs.io/zh-cn/latest/developer_guide/contribution/index.html) and [Testing](https://vllm-ascend.readthedocs.io/zh-cn/latest/developer_guide/contribution/testing.html).' + }) + env: + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}