File tree Expand file tree Collapse file tree 1 file changed +22
-0
lines changed Expand file tree Collapse file tree 1 file changed +22
-0
lines changed Original file line number Diff line number Diff line change @@ -98,6 +98,28 @@ pull_request_rules:
98
98
remove :
99
99
- " needs: review"
100
100
101
+ # From needs: work to needs: CI
102
+ - name : " label needs: CI it was approved and pr-head needs to be rerun again"
103
+ conditions :
104
+ - base~=feature-mergify
105
+ # Labels
106
+ - " label=needs: work"
107
+
108
+ # Reviewers, at least one approval and no changes requested
109
+ - " #changes-requested-reviews-by=0"
110
+ - " #approved-reviews-by>=0"
111
+
112
+ # CI green policy, at least Travis should be green
113
+ - status-success~=continuous-integration/travis-ci/pr
114
+ # new CI needs to be done
115
+ - status-neutral~=continuous-integration/jenkins/pr-head
116
+ actions :
117
+ label :
118
+ add :
119
+ - " needs: CI"
120
+ remove :
121
+ - " needs: work"
122
+
101
123
# Conflict in the PR - needs: work and a comment to notify a user
102
124
- name : " label needs: work when there is a conflict"
103
125
conditions :
You can’t perform that action at this time.
0 commit comments