Skip to content

Commit

Permalink
Merge pull request haskell#10641 from geekosaur/mergify-stuck
Browse files Browse the repository at this point in the history
try to alert (via webhook) when Mergify is stuck
  • Loading branch information
mergify[bot] authored Dec 18, 2024
2 parents 3727226 + 04f784d commit 80df3bc
Showing 1 changed file with 25 additions and 0 deletions.
25 changes: 25 additions & 0 deletions .github/mergify.yml
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,31 @@ pull_request_rules:
- check-success=Bootstrap post job
- 'check-success=docs/readthedocs.org:cabal'

# label when Mergify didn't trigger a merge automatically
- actions:
label:
add:
- waiting too long
name: Mergify hasn't merged a PR yet
conditions:
- base=master
- -draft
- -closed
- -merged
- '#approved-reviews-by>=2'
- '#changes-requested-reviews-by=0'
- updated-at<4 days ago
- label=merge delay passed
# oy
# lifted these from branch protection imports
- check-success=fourmolu
- check-success=hlint
- check-success=Meta checks
- check-success=Doctest Cabal
- check-success=Validate post job
- check-success=Bootstrap post job
- 'check-success=docs/readthedocs.org:cabal'

# rebase+merge strategy
- actions:
queue:
Expand Down

0 comments on commit 80df3bc

Please sign in to comment.