hashicorp / terraform-cdk

Define infrastructure resources using programming constructs and provision them using HashiCorp Terraform
https://www.terraform.io/cdktf
Mozilla Public License 2.0
4.79k stars 441 forks source link

chore: fix branch cleanup #3644

Closed DanielMSchmidt closed 2 weeks ago

DanielMSchmidt commented 3 weeks ago

when a revert is using a part of the branch name it leads to problems in the cleanup

since the matched part is what we assume is the branch name and that one does not exist.

The origin/ should make sure that there can be no prefix, technically we should also guard against suffixes bug we'll cross that bridge when we get there