Skip to content
This repository has been archived by the owner on Jul 15, 2024. It is now read-only.

fix: filters skipped when more than one is specified (#521) #511

Open
wants to merge 7 commits into
base: master
Choose a base branch
from

Conversation

crenshaw-dev
Copy link
Member

@crenshaw-dev crenshaw-dev commented Feb 18, 2022

Simplify filter type detection.

Fixes #521

@crenshaw-dev crenshaw-dev marked this pull request as ready for review February 18, 2022 19:07
@crenshaw-dev
Copy link
Member Author

@mmerrill3 can you take a look?

Copy link

@fardin01 fardin01 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The fix worked as expected in my cluster.

@crenshaw-dev crenshaw-dev changed the title chore: simpler filter segmentation fix: filters skipped when more than one is specified (#521) Feb 28, 2022
@oleg-glushak
Copy link

I tried this code for a combination of repositoryMatch and branchMatch filters and it seems it doesn't work as expected. Only a default branch gets discovered, but not others.

@crenshaw-dev
Copy link
Member Author

@oleg-glushak sounds like I need to write some more tests...

@rishabh625
Copy link
Contributor

rishabh625 commented Apr 1, 2022

@crenshaw-dev : Can u plz move this to argocd and close here?

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Bug: RepositoryMatch filter is not working in combination with other filters
5 participants