Skip to content

Commit 5974cbe

Browse files
donoghucmergify[bot]
authored andcommitted
Limit exhaustive test triggers to active branches only (#18975)
The exhaustive tests pipeline was triggering on every branch push, including updatecli automation branches. Switch the filter_condition from a deny-list to an allow-list matching only main, version (X.Y), and dev (X.x) branches. Manual and scheduled runs are unaffected. (cherry picked from commit 2ed8012)
1 parent 5739d9c commit 5974cbe

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

catalog-info.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -601,7 +601,7 @@ spec:
601601
build_tags: false
602602
trigger_mode: code
603603
filter_condition: >-
604-
build.branch !~ /^backport.*$/ && build.branch !~ /^mergify\/bp\/.*$/
604+
build.branch =~ /^main$/ || build.branch =~ /^[0-9]+\.[0-9]+$/ || build.branch =~ /^[0-9]+\.x$/
605605
filter_enabled: true
606606
cancel_intermediate_builds: true
607607
skip_intermediate_builds: true

0 commit comments

Comments
 (0)