Skip to content

Commit

Permalink
add Mergify config for high priority PRs
Browse files Browse the repository at this point in the history
This allows is to interrupt the merge queue for high priority PRs.
It's using the "priority: high 🔥" label currently.

Fixes: haskell#10352
  • Loading branch information
geekosaur committed Sep 14, 2024
1 parent efa04f7 commit 04c628b
Showing 1 changed file with 16 additions and 0 deletions.
16 changes: 16 additions & 0 deletions .github/mergify.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,22 @@
# Note: We do not use the rebase strategy to merge PRs, because that
# loses information needed by changelog-d to associate commits with PRs.

priority_rules:

- name: high priority
conditions:
- 'label=priority: high :fire:'
priority: high

# The idea is we slightly prioritize those PRs because we're in
# a release cycle if a PR matches.
- name: release branch
conditions:
- 'base~=^3\.'
- 'label!=backport'
# 'normal' is 2000, 'high' is 3000
priority: 2500

pull_request_rules:

# implementing PR delay logic: apply a label after 2 days of inactivity
Expand Down

0 comments on commit 04c628b

Please sign in to comment.