Skip to content

Commit

Permalink
Enable mergify
Browse files Browse the repository at this point in the history
  • Loading branch information
marcandre committed Aug 16, 2020
1 parent 2ccbed2 commit e9a16e9
Show file tree
Hide file tree
Showing 2 changed files with 34 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/rubocop.yml
@@ -1,6 +1,6 @@
# CAUTION: There's probably a way to refactor this nicely. PR welcome.
# NOTE: Reflect changes in .mergify.yml
# NOTE: When changing minimal version of Ruby or Rubocop, change all of them

name: CI

on: [push, pull_request]
Expand Down
33 changes: 33 additions & 0 deletions .mergify.yml
@@ -0,0 +1,33 @@
pull_request_rules:
- name: automatic merge for master when reviewed and CI passes
actions:
merge:
method: rebase
conditions:
- base=master
- label=auto-merge
- "#review-requested=0"
- "#changes-requested-reviews-by=0"
- 'status-success=Specs | RuboCop: master | 2.4 (ubuntu)'
- 'status-success=Specs | RuboCop: master | 2.5 (ubuntu)'
- 'status-success=Specs | RuboCop: master | 2.6 (ubuntu)'
- 'status-success=Specs | RuboCop: master | 2.7 (ubuntu)'
- 'status-success=Specs | RuboCop: master | head (ubuntu)'
- 'status-success=Specs | RuboCop: master | mingw (windows)'
- 'status-success=Specs | RuboCop: 0.87.0 | 2.4 (ubuntu)'
- 'status-success=Specs | RuboCop: 0.87.0 | head (ubuntu)'
- 'status-success=Coverage | RuboCop: 0.87.0 | 2.4 (ubuntu)'
- 'status-success=Specs "modern" | RuboCop: master | 2.7 (ubuntu)'
- 'status-success=Coding Style | RuboCop: master | 2.7 (ubuntu)'
- 'status-success=Main Gem Specs | RuboCop: 0.87.0 | 2.4 (ubuntu)'
- 'status-success=Main Gem Specs | RuboCop: master | 2.4 (ubuntu)'
- 'status-success=Main Gem Specs | RuboCop: 0.87.0 | 2.7 (ubuntu)'
- 'status-success=Main Gem Specs | RuboCop: master | 2.7 (ubuntu)'

- name: delete head branch after auto-merge
conditions:
- merged
- label=auto-merge
actions:
delete_head_branch: {}

0 comments on commit e9a16e9

Please sign in to comment.