Skip to content

Commit

Permalink
Merge pull request #14 from etchteam/feat/add-mergify
Browse files Browse the repository at this point in the history
Add mergify
  • Loading branch information
JoshTheWanderer authored Nov 6, 2024
2 parents 41e3e8a + d6bcded commit 3ae1823
Showing 1 changed file with 36 additions and 0 deletions.
36 changes: 36 additions & 0 deletions .github/mergify.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
---
pull_request_rules:
- name: Auto-merge dependabot updates when checks pass
conditions:
- author=dependabot[bot]
- label!=wontfix
actions:
review:
type: APPROVE
message: Automatically approving dependabot
merge:
method: merge
- name: Auto-merge when all checks pass and the PR has been approved
conditions:
- "#changes-requested-reviews-by=0"
- "#approved-reviews-by>=1"
actions:
merge:
method: squash
- name: Ask for reviews
conditions:
- -closed
- -draft
- -author=dependabot[bot]
actions:
request_reviews:
teams:
- devs
random_count: 2
- name: Assign PR to its author
conditions:
- "#files=1"
actions:
assign:
add_users:
- "{{author}}"

0 comments on commit 3ae1823

Please sign in to comment.