Skip to content
Closed
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
25 changes: 21 additions & 4 deletions .mergify.yml
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,11 @@ merge_protections:
- or: &DefaultReviewCond
- "#approved-reviews-by >= 2"
- author = dependabot[bot]
- author = mergify-ci-bot
# mergify-ci-bot needs no approval for the deterministic syncers, but
# the docs agent writes prose under docs-agent/* and gets no free pass.
- and:
- author = mergify-ci-bot
- "-head ~= ^docs-agent/"

- name: 🧑‍🚒 Hotfix Review Requirements
if:
Expand Down Expand Up @@ -81,8 +85,13 @@ queue_rules:
- name: default
<<: *DefaultQueueOptions
queue_conditions:
- author != mergify-ci-bot
- author != dependabot[bot]
# docs-agent branches are excluded from the automated updates lane below,
# so they have to land here or they would match no queue at all.
- or:
- and:
- author != mergify-ci-bot
- author != dependabot[bot]
- head ~= ^docs-agent/
merge_conditions:
- schedule=Mon-Fri 09:00-17:30[Europe/Paris]

Expand All @@ -93,14 +102,22 @@ queue_rules:
- or:
- author = mergify-ci-bot
- author = dependabot[bot]
- "-head ~= ^docs-agent/"
batch_size: 10
batch_max_wait_time: 5min

pull_request_rules:
- name: request review
conditions:
- -author=dependabot[bot]
- -author=mergify-ci-bot
# Bots are not routed for review, except the docs agent, which now needs
# two approvals like anyone else. Gated on -draft so the ten drafts a
# Monday audit opens do not each ping the team before a human wants them.
- or:
- -author=mergify-ci-bot
- and:
- head ~= ^docs-agent/
- -draft
- -merged
- -closed
- and: *CheckRuns
Expand Down