Open mnacharov opened 1 year ago
Perhaps it could make sense to have matchExpressions
, i.e something more akin to how Deployments
et al does filtering?
Create applications for pull requests that doesn't have Stale label
I've heard of similar request from users and agree with the use case.
Perhaps it could make sense to have matchExpressions
This seems like a more flexible way to achieve the use case. I like the proposal.
Perhaps it could make sense to have
matchExpressions
, i.e something more akin to howDeployments
et al does filtering?
could be useful to also have support for wildcard or Contains operator !
@llavaud I think you could achieve the same thing using go templates, the generator's values
field, and the label selector: https://github.com/argoproj/argo-cd/issues/16447#issuecomment-1834716969
Summary
Allow negative matching on pull request labels. Create applications for pull requests that doesn't have
Stale
labelMotivation
In most of my use-cases, PR stands are created by default to run some integration tests on them and/or preview changes as part of a code review. Therefore, I would like to have ability to stop those stands by labeling PR as
Stale
rather than by removing labelpreview
from PR.Proposal
Add
notLabels
in addition tolabels
filter in pullRequest generator. Filter the PRs to those not containing any of the labels listed