terrakube
terrakube copied to clipboard
fix: enhance branch matching
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