File tree Expand file tree Collapse file tree 1 file changed +13
-2
lines changed Expand file tree Collapse file tree 1 file changed +13
-2
lines changed Original file line number Diff line number Diff line change @@ -47,7 +47,7 @@ pull_request_rules:
47
47
remove :
48
48
- " needs: review"
49
49
50
- - name : " label needs: work when Jenkins CI failed"
50
+ - name : " label needs: work when Jenkins CI failed - pr head "
51
51
conditions :
52
52
# Jenkins CI failing
53
53
- status-failure~=continuous-integration/jenkins/pr-head
@@ -56,6 +56,15 @@ pull_request_rules:
56
56
add :
57
57
- " needs: work"
58
58
59
+ - name : " label needs: work when Jenkins CI failed - any of the pipeline"
60
+ conditions :
61
+ # Jenkins CI failing - any of the pipeline
62
+ - status-failure~=^jenkins-ci
63
+ actions :
64
+ label :
65
+ add :
66
+ - " needs: work"
67
+
59
68
- name : " label needs: CI when at least one reviewers approval"
60
69
conditions :
61
70
# Labels
@@ -129,8 +138,10 @@ pull_request_rules:
129
138
130
139
# CI green policy
131
140
- status-success~=continuous-integration/travis-ci/pr
132
- # Internal Jenkins - we rely on PR head to provide status - all passed
141
+ # Internal Jenkins - we rely on PR head to provide status
133
142
- status-success~=continuous-integration/jenkins/pr-head
143
+ # any of the jenkins pipeline needs to be green
144
+ - status-success~=^jenkins-ci
134
145
actions :
135
146
label :
136
147
add :
You can’t perform that action at this time.
0 commit comments