File tree Expand file tree Collapse file tree 1 file changed +9
-12
lines changed
Expand file tree Collapse file tree 1 file changed +9
-12
lines changed Original file line number Diff line number Diff line change 7272 ensure :
7373 value : " {{status.state}}"
7474 equals : " failure"
75+ age :
76+ value : " {{status.created_at}}"
77+ minimum : 1h
7578 actions :
7679 label :
7780 add : " PR: tests-needed"
@@ -198,15 +201,6 @@ rules:
198201
199202
200203
201- # add hot label for many comments
202- - filters :
203- open : true
204- number_of_comments : 10
205- actions :
206- label : hot
207-
208-
209-
210204# add non-master label to pull request to other branch
211205- filters :
212206 pull_request :
@@ -218,6 +212,10 @@ rules:
218212
219213# add non-master label to pull request to other branch
220214- filters :
215+ open : true
216+ age :
217+ minimum : 1d
218+ maximum : 1w
221219 pull_request :
222220 head_ref : " ^master$"
223221 actions :
@@ -227,9 +225,7 @@ rules:
227225 message : |-
228226 Hi @{{pull_request.user.login}}.
229227
230- First thanks for your pull request.
231-
232- Just a little hint from a friendly bot about the best practice when submitting pull request:
228+ Just a little hint from a friendly bot about the best practice when submitting pull requests:
233229
234230 > Don't submit pull request from your own `master` branch. It's recommended to create a feature branch for the PR.
235231
@@ -239,6 +235,7 @@ rules:
239235
240236# add small label to small pull requests
241237- filters :
238+ open : true
242239 pull_request :
243240 additions : " <= 10"
244241 deletions : " <= 10"
You can’t perform that action at this time.
0 commit comments