Skip to content

Commit

Permalink
second attempt at catching stale PRs
Browse files Browse the repository at this point in the history
The first one didn't fire, despite there being 3 PRs that should
have matched. This one tries to match the queue failure itself
instead of checking for lack of activity.
  • Loading branch information
geekosaur committed Dec 18, 2024
1 parent 0025961 commit 4c7d91f
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion .github/mergify.yml
Original file line number Diff line number Diff line change
Expand Up @@ -54,12 +54,14 @@ pull_request_rules:
- '#changes-requested-reviews-by=0'
# oy
# lifted these from branch protection imports
- check-success=whitespace
- 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=Check sdist post job
- 'check-success=docs/readthedocs.org:cabal'

# label when Mergify didn't trigger a merge automatically
Expand All @@ -75,16 +77,19 @@ pull_request_rules:
- -merged
- '#approved-reviews-by>=2'
- '#changes-requested-reviews-by=0'
- updated-at<4 days ago
- label=merge delay passed
- label!=waiting too long
- 'check-failure~=^Rule: Put pull requests in the '
# oy
# lifted these from branch protection imports
- check-success=whitespace
- 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=Check sdist post job
- 'check-success=docs/readthedocs.org:cabal'

# rebase+merge strategy
Expand Down

0 comments on commit 4c7d91f

Please sign in to comment.