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

ci(mergify): upgrade configuration to current format #192

Open
wants to merge 1 commit into
base: master
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
36 changes: 21 additions & 15 deletions .mergify.yml
Original file line number Diff line number Diff line change
@@ -1,9 +1,23 @@
# GENERATED CONTENT
# remove repo from adrianjost/.github/synced/workflows/generator.js before editing
queue_rules:
- name: duplicated branchProtection from auto merge passing Dependabot pull requests
queue_conditions:
- author~=dependabot(-preview)?\[bot\]
merge_conditions:
- '-merged'
merge_method: squash
- name: duplicated branchProtection from auto merge when ready to merge label is
set
queue_conditions:
- label=ready to merge
merge_conditions:
- '-merged'
merge_method: merge
- name: branchProtection
conditions:
- '-merged'

pull_request_rules:
- name: label PRs with conflicts
conditions:
Expand All @@ -26,21 +40,8 @@ pull_request_rules:
- conflict
actions:
comment:
message: Someone with write access should tell dependabot to recreate this PR.
- name: auto merge passing Dependabot pull requests
conditions:
- author~=dependabot(-preview)?\[bot\]
actions:
queue:
name: branchProtection
method: squash
- name: auto merge when ready to merge label is set
conditions:
- label=ready to merge
actions:
queue:
name: branchProtection
method: merge
message: Someone with write access should tell dependabot to recreate this
PR.
- name: remove ready to merge when merged
conditions:
- merged
Expand All @@ -55,3 +56,8 @@ pull_request_rules:
- label!=WIP
actions:
delete_head_branch: {}
- name: auto merge passing Dependabot pull requests + auto merge when ready to merge
label is set
conditions: []
actions:
queue:
Loading