Hi! I'd like to set up an Inbox filter for "PRs th...
# how-do-i
b
Hi! I'd like to set up an Inbox filter for "PRs that are in ready-to-merge status" - something like: • author is {me} • PR status is {Open & Ready To Merge} • Upstream branches are {all approved} What I'm really trying to do is have an Inbox section that is "here are the PRs that are ready-to-merge, because the PR is approved and its upstream branches are also approved/ready". See this PR at the top of the stack? I don't want it to show up in my "Ready to merge" filter, but there's not currently a way to configure an Inbox filter to do this. (Right?)
p
(If applicable) To help us more clearly understand what you're trying to do, please provide additional details about: - Screenshots / debug logs / list of commands you've tried to run so far - Your workflow - Current state
b
My workflow is: • I cherish the Inbox tab. I use a bunch of sections in here - "waiting on reviewer", "needs my review", "my drafts", etc. • One of the sections that i have is "Ready to Merge" - but there's no actual way to create a "Ready to merge" inbox-filter as far as I'm aware. The closest I've got is this (see screenshot) - but it currently includes PRs that have upstream not-ready-to-merge PRs and as far as I'm aware, there's no way to avoid that.
I just want to be able to create filters & automations with this metadata:
Thanks! 🫶
p
Hey Bryan, i wonder if you can achieve something similar with
Parent branch is: main
or whatever your trunk is. This would only show the bottom most ready to merge but would take you to a stack that may have more than one branch ready. thoughts?
b
Oooh that sounds like a good workaround!
I still think it'd be lovely to have this functionality but I like having a workaround here too - thank you!
💯 1