JoshuaKGoldberg / JoshuaKGoldberg/prune-github-notifications
🚀 Feature: Allow filtering on labels
- Dominant language
- TypeScript
- Stars
- 7
- Forks
- 0
- Avg merge
- 12m
- Merged PRs (30d)
- 35
Description
### Bug Report Checklist
- [X] I have pulled the latest `main` branch of the repository.
- [X] I have [searched for related issues](https://github.com/JoshuaKGoldberg/prune-github-notifications/issues?q=is%3Aissue) and found none that matched my issue.
### Overview
Right now, `prune-github-notifications` allows filtering on `reason` and `title`. But sometimes an individual will send a PR that just so happens to look like a bot's PR. It'd be nice to be able to filter to just the PRs that match a configurable list of labels. A couple of example use cases:
* `labels: [/^dependencies$/]`: would work for many straightforward repos
* `labels: [/^bot$/, /dependencies/]`: would work for some more complex repos that use multiple bot-indicator labels
Let's add in a `--label` CLI option & `label` Node.js option!
### Additional Info
_No response_
Contributor guide
Assessment
This issue has not been assessed yet.