Hello there!
In one of our pipelines, we want builds to be created on trunk
and release/*
branches, but also on any tag.
If we use “Settings” > “GitHub” > “Branch Limiting” to set it to trunk release/*
, this will filter out branches that are not matching those two… but will also filter out tags too! The fact that the setting is called “Branch Limiting” (and the corresponding terraform attribute branch_configuration
) is quite misleading—and actually led to a lot of time lost today trying to understand why our tags didn’t trigger a build on a new pipeline I just set up , first thinking it was the webhook or that we forgot to enable provider_settings.build_tags = true
in our terraform config.
Would be be possible to make the distinction between “Branch Limiting” (which would only apply to branches, not tags) and add a separate “Tag Limiting” field, so that we can have the limitation only on branches or only on tags, instead of a single field that applies to both (which imho makes little sense anyway, as tag names and branch names rarely follow the same naming convention anyway)?
PS: We don’t want to impose any restriction on tag naming so having a “Branch Limiting” filter set to something like trunk release v*
wouldn’t work well for us. Besides, that would also mean that builds would be created on any branch whose name starts with v
too, which is not what we want.