Skip to content

Commit

Permalink
ci(mergify): upgrade configuration to current format
Browse files Browse the repository at this point in the history
  • Loading branch information
mergify[bot] committed Nov 25, 2024
1 parent 12f7b6c commit 7de73f6
Showing 1 changed file with 19 additions and 16 deletions.
35 changes: 19 additions & 16 deletions .mergify.yml
Original file line number Diff line number Diff line change
@@ -1,9 +1,20 @@
# GENERATED CONTENT
# remove repo from adrianjost/.github/synced/workflows/generator.js before editing
queue_rules:
- name: duplicated branchProtection from auto merge when ready to merge label is
set
queue_conditions:
- author~=dependabot(-preview)?\[bot\]
- label=ready to merge
merge_conditions: []
merge_method: merge
- name: branchProtection
conditions:
queue_conditions:
- author~=dependabot(-preview)?\[bot\]
merge_conditions:
- '-merged'
merge_method: squash

pull_request_rules:
- name: label PRs with conflicts
conditions:
Expand All @@ -26,21 +37,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 +53,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:

0 comments on commit 7de73f6

Please sign in to comment.