A high-throughput and memory-efficient inference and serving engine for LLMs
Mirrored from https://github.com/tduncan-lum/Nvidia-Optimization-Stack---VLLM.git
Synced Nov 16, 22:00 UTC
[ci] Add GHA workflows to enable full CI run (#6381)
Signed-off-by: kevin <kevin@anyscale.com>
Kevin H. Luu committed
Jul 12, 2024 at 11:36 UTC
4dbebd03cc0ba514174648c65250ec3faac8ef69
3 files changed
+65
.github/workflows/add_label_automerge.yml
new
+21
@@ -0,0 +1,21 @@
1
+name: Add label on auto-merge enabled
2
+on:
3
+ pull_request_target:
4
+ types:
5
+ - auto_merge_enabled
6
+jobs:
7
+ add-label-on-auto-merge:
8
+ runs-on: ubuntu-latest
9
+ steps:
10
+ - name: Add label
11
+ uses: actions/github-script@v5
12
+ with:
13
+ script: |
14
+ github.rest.issues.addLabels({
15
+ owner: context.repo.owner,
16
+ repo: context.repo.repo,
17
+ issue_number: context.issue.number,
18
+ labels: ['ready']
19
+ })
20
+ env:
21
+ GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
.github/workflows/add_label_ready_comment.yml
new
+23
@@ -0,0 +1,23 @@
1
+name: Add Ready Label on Ready Comment
2
+
3
+on:
4
+ issue_comment:
5
+ types: [created]
6
+
7
+jobs:
8
+ add-ready-label:
9
+ runs-on: ubuntu-latest
10
+ if: github.event.issue.pull_request && contains(github.event.comment.body, '/ready')
11
+ steps:
12
+ - name: Add label
13
+ uses: actions/github-script@v5
14
+ with:
15
+ script: |
16
+ github.rest.issues.addLabels({
17
+ owner: context.repo.owner,
18
+ repo: context.repo.repo,
19
+ issue_number: context.issue.number,
20
+ labels: ['ready']
21
+ })
22
+ env:
23
+ GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
.github/workflows/reminder_comment.yml
new
+21
@@ -0,0 +1,21 @@
1
+name: PR Reminder Comment Bot
2
+on:
3
+ pull_request_target:
4
+ types: [opened]
5
+
6
+jobs:
7
+ pr_reminder:
8
+ runs-on: ubuntu-latest
9
+ steps:
10
+ - name: Remind to run full CI on PR
11
+ uses: actions/github-script@v6
12
+ with:
13
+ script: |
14
+ github.rest.issues.createComment({
15
+ owner: context.repo.owner,
16
+ repo: context.repo.repo,
17
+ issue_number: context.issue.number,
18
+ body: '👋 Hi! Thank you for contributing to the vLLM project.\n Just a reminder: PRs would not trigger full CI run by default. Instead, it would only trigger `fastcheck` CI to run, which consists only a small and essential subset of tests to quickly catch small errors.\n\nFull CI run is still required to merge this PR so please make sure that you run full CI before merging or if you need more test signals.\n\n To run full CI, you can do one of these:\n- Add `ready` label to the PR\n- Comment `/ready` on the PR\n- Enable auto-merge.\n\n🚀'
19
+ })
20
+ env:
21
+ GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}