File tree 2 files changed +25
-0
lines changed
2 files changed +25
-0
lines changed Original file line number Diff line number Diff line change
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 }}
Original file line number Diff line number Diff line change 8
8
branches :
9
9
- main
10
10
- ' release/*'
11
+ types : [labeled, opened, synchronize]
11
12
12
13
env :
13
14
CADENCE : " commit"
@@ -104,6 +105,7 @@ jobs:
104
105
run : |
105
106
pytest tests/llmcompressor/pytorch -v
106
107
transformers-tests :
108
+ if : contains(github.event.pull_request.labels.*.name, 'ready')
107
109
runs-on : ubuntu-22.04
108
110
needs : test-setup
109
111
steps :
You can’t perform that action at this time.
0 commit comments