terrakube icon indicating copy to clipboard operation
terrakube copied to clipboard

fix: enhance branch matching

Open BenjaminDecreusefond opened this issue 3 months ago • 15 comments

Hi @alfespa17 !

Following our discussion on this topic I'd like to propose a new way to do the matching for the branch list. The idea is as follow

  • Be able to say I want to match all branch except these ones
  • Keep the previous logic with startsWith branch

The only thing is that I do not automatically return True when the branch is the same as the workspace's default branch. I don't know if this is an issue ?

It's just a proposal for us to be able to achieve our goals ! Lemme know if you approve it :)

Regards

BenjaminDecreusefond avatar Oct 25 '24 14:10 BenjaminDecreusefond