Skip to content

Commit

Permalink
mergify: remove needs CI if CI fails
Browse files Browse the repository at this point in the history
  • Loading branch information
0xc0170 committed Jan 20, 2020
1 parent bccc140 commit adfa736
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions .mergify.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,7 @@ pull_request_rules:
- "needs: work"
remove:
- "needs: review"
- "needs: CI"

# From needs: review to needs: work - CI failure
- name: "label needs: work when travis-ci failed"
Expand All @@ -47,6 +48,7 @@ pull_request_rules:
- "needs: work"
remove:
- "needs: review"
- "needs: CI"

# From needs: review to needs: work - CI failure
- name: "label needs: work when Jenkins CI failed - pr head"
Expand All @@ -59,6 +61,7 @@ pull_request_rules:
- "needs: work"
remove:
- "needs: review"
- "needs: CI"

# From needs: review to needs: work - CI failure
- name: "label needs: work when Jenkins CI failed - any of the pipeline"
Expand All @@ -71,6 +74,7 @@ pull_request_rules:
- "needs: work"
remove:
- "needs: review"
- "needs: CI"

# From needs: review or needs: work to needs: CI. One approval means we should be good to start CI
- name: "label needs: CI when at least one reviewers approval"
Expand Down

0 comments on commit adfa736

Please sign in to comment.