Skip to content

Commit d9f82eb

Browse files
authored
[misc] Add reminder comment when PR submitted (vllm-project#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: Yikun#51 (comment) This PR will take effect after this PR merged. - vLLM version: v0.10.0 - vLLM main: vllm-project/vllm@0e36abf Signed-off-by: Yikun Jiang <[email protected]>
1 parent 1dbb888 commit d9f82eb

File tree

1 file changed

+26
-0
lines changed

1 file changed

+26
-0
lines changed
Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
name: PR Reminder Comment Bot
2+
permissions:
3+
pull-requests: write
4+
on:
5+
pull_request_target:
6+
types: [opened]
7+
jobs:
8+
pr_reminder:
9+
runs-on: ubuntu-latest
10+
steps:
11+
- name: Remind to run full CI on PR
12+
uses: actions/github-script@60a0d83039c74a4aee543508d2ffcb1c3799cdea # v7.0.1
13+
with:
14+
script: |
15+
github.rest.issues.createComment({
16+
owner: context.repo.owner,
17+
repo: context.repo.repo,
18+
issue_number: context.issue.number,
19+
body: '👋 Hi! Thank you for contributing to the vLLM Ascend project. The following points will speed up your PR merge:‌‌\n\n' +
20+
'- A PR should do only one thing, smaller PRs enable faster reviews.\n' +
21+
'- Every PR should include unit tests and end-to-end tests ‌to ensure it works and is not broken by other future PRs.\n' +
22+
'- Write the commit message by fulfilling the PR description to help reviewer and future developers understand.\n\n' +
23+
'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).'
24+
})
25+
env:
26+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

0 commit comments

Comments
 (0)