Skip to content

Commit d784854

Browse files
authored
Merge branch 'main' into fix-markdown
2 parents d69c6b5 + 90b319c commit d784854

File tree

2 files changed

+25
-0
lines changed

2 files changed

+25
-0
lines changed

.github/workflows/set-comment.yaml

+23
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
name: PR Reminder Comment Bot
2+
on:
3+
pull_request:
4+
branches:
5+
- main
6+
types: [opened]
7+
8+
jobs:
9+
pr_reminder:
10+
runs-on: ubuntu-latest
11+
steps:
12+
- name: Remind to add ready label
13+
uses: actions/github-script@v6
14+
with:
15+
script: |
16+
github.rest.issues.createComment({
17+
owner: context.repo.owner,
18+
repo: context.repo.repo,
19+
issue_number: context.issue.number,
20+
body: '👋 Hi! Thank you for contributing to llm-compressor. Please add the ready label when the PR is ready for review.'
21+
})
22+
env:
23+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

.github/workflows/test-check.yaml

+2
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@ on:
88
branches:
99
- main
1010
- 'release/*'
11+
types: [labeled, opened, synchronize]
1112

1213
env:
1314
CADENCE: "commit"
@@ -104,6 +105,7 @@ jobs:
104105
run: |
105106
pytest tests/llmcompressor/pytorch -v
106107
transformers-tests:
108+
if: contains(github.event.pull_request.labels.*.name, 'ready')
107109
runs-on: ubuntu-22.04
108110
needs: test-setup
109111
steps:

0 commit comments

Comments
 (0)