Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions cmd/branchingconfigmanagers/tide-config-manager/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -343,6 +343,9 @@ func (gae *generalAvailabilityEvent) ensureStaffEngApprovedLabel(q *prowconfig.T

func (gae *generalAvailabilityEvent) overrideExcludedBranches(q *prowconfig.TideQuery) {
branches := sets.New[string](q.ExcludedBranches...)
// Ensure main and master are always excluded so the complement query never applies to them;
// only the dedicated main/master query (with verified) should match PRs targeting those branches.
branches.Insert(mainBranch, masterBranch)
if branches.Has(gae.releasePast) {
branches.Insert(gae.releaseCurrent)
branches.Insert(gae.releaseFuture)
Expand Down