Skip to content

Commit 0d483aa

Browse files
committed
mergify: add from work to CI stage
1 parent f4ee082 commit 0d483aa

File tree

1 file changed

+22
-0
lines changed

1 file changed

+22
-0
lines changed

.mergify.yml

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -98,6 +98,28 @@ pull_request_rules:
9898
remove:
9999
- "needs: review"
100100

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+
101123
# Conflict in the PR - needs: work and a comment to notify a user
102124
- name: "label needs: work when there is a conflict"
103125
conditions:

0 commit comments

Comments
 (0)