Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

try to alert (via webhook) when Mergify is stuck #10641

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

geekosaur
Copy link
Collaborator

Add a label "waiting too long" if a PR has "merge delay passed" but is still open without any activity. Somewhat hacky, since GitHub's API doesn't provide any real hooks for it so I'm guessing at ways to try to catch it. Can only be tested by merging, since Mergify won't apply it unless it's on master.

Template B: This PR does not modify behaviour or interface

E.g. the PR only touches documentation or tests, does refactorings, etc.

Include the following checklist in your PR:

  • Patches conform to the coding conventions.
  • Is this a PR that fixes CI? If so, it will need to be backported to older cabal release branches (ask maintainers for directions). Mergify only pays attention to master

Copy link
Collaborator

@ulysses4ever ulysses4ever left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks!

.github/mergify.yml Outdated Show resolved Hide resolved
Add a label "waiting too long" if a PR has "merge delay passed"
but is still open without any activity. Somewhat hacky, since
GitHub's API doesn't provide any real hooks for it so I'm guessing
at ways to try to catch it. Can only be tested by merging, since
Mergify won't apply it unless it's on `master`.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants