Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update mergify config #8

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
24 changes: 24 additions & 0 deletions .mergify.yml
Original file line number Diff line number Diff line change
@@ -1,8 +1,32 @@
pull_request_rules:
- name: assign PR to its author
conditions:
- base = main
actions:
assign:
add_users:
- "{{author}}"
- name: review request for all PRs
conditions:
- base = main
actions:
request_reviews:
users:
- GreatAlexander
- hect95
- name: automatic merge for pre-commit ci updates
conditions:
- author=pre-commit-ci[bot]
- title=[pre-commit.ci] pre-commit autoupdate
actions:
merge:
method: squash
merge_protections:
- name: Require approval
description: Require at least one review approval before merging is allowed (If
not a pre-commit PR)
if:
- -author = pre-commit-ci[bot]
- base = main
success_conditions:
- "#approved-reviews-by >= 1"