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

Sync tags on matching paths #124

Open
ppaskaris-coursera opened this issue Sep 10, 2020 · 0 comments
Open

Sync tags on matching paths #124

ppaskaris-coursera opened this issue Sep 10, 2020 · 0 comments

Comments

@ppaskaris-coursera
Copy link
Contributor

It would be neat to have an action that applies or removes tags from a PR depending on which paths are affected in the diff. This would enable someone like myself to bookmark a PR search by tag to separate PRs that I care about for a particular facet from the rest of the monorepo.

To identify a situation where a tag should be applied, I would like to test the modified paths against a regular expression. If the PR has a matching path, apply the tag, otherwise, remove the tag if it's already present. Use case for removing is if someone reverts a change, and the PR no longer affects what I care about, I would not like to see it.

This is similar to how path-based Herald subscriptions work, but without automagically sending you notifications, just letting you filter by topic (tag, replacement for group subscription).

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

No branches or pull requests

1 participant