mergeable
mergeable copied to clipboard
[Feature Request] Stipulate all sub-events of an event, except for a specific one (blacklist - all but one)
Hello all, this is a Feature Request!
What I'd like to accomplish is selecting all the events under - pull_request.* - except closed - pull_request.closed through a regex.
This, instead of detailing every single event within pull_request.
It would stop mergeable app from requesting review when the PR is merged to main.
It could be deployed something as this:
mergeable:
- when: pull_request.^(?!closed).*
name: 'Request Review from operations team'
EDIT: More details
@dgteixeira i think this is a great idea
@shine2lay, thanks!
I've been a heavy user of Mergeable app these past few days (since I discovered it) and there are a few itens I would love to see deployed. It started with the limitation of CODEOWNERS only allowing 1 approval team per file, but now I believe it will be the center of our GitHub-centered workflows 😎