From e1e1518141237bab9275e8ade7fbb88d346dee05 Mon Sep 17 00:00:00 2001 From: Vault Automation Date: Fri, 22 Aug 2025 10:19:35 -0600 Subject: [PATCH] [VAULT-39153] pipeline(backport): remove docs and pipeline from allowed ce inactive (#8819) (#8842) Docs have been moved since the tool was written so that exclusion is no longer needed. Since the defaults were added the `pipeline` group has expanded to include all `.github`, which we don't want to always backport. It seems unlike that `pipeline` tooling changes are likely to be required often on inactive branches so we'll exclude all together for now. Signed-off-by: Ryan Cragun Co-authored-by: Ryan Cragun --- tools/pipeline/internal/pkg/git/client.go | 8 ++------ tools/pipeline/internal/pkg/github/create_backport.go | 2 -- 2 files changed, 2 insertions(+), 8 deletions(-) diff --git a/tools/pipeline/internal/pkg/git/client.go b/tools/pipeline/internal/pkg/git/client.go index 528043b520..46408b1ece 100644 --- a/tools/pipeline/internal/pkg/git/client.go +++ b/tools/pipeline/internal/pkg/git/client.go @@ -127,13 +127,9 @@ func (e *ExecResponse) String() string { b := strings.Builder{} b.WriteString(e.Cmd) b.WriteString("\n") - for _, line := range strings.Split(string(e.Stdout), "\n") { - b.WriteString(line) - } + b.WriteString(string(e.Stdout)) b.WriteString("\n") - for _, line := range strings.Split(string(e.Stderr), "\n") { - b.WriteString(line) - } + b.WriteString(string(e.Stderr)) b.WriteString("\n") return b.String() diff --git a/tools/pipeline/internal/pkg/github/create_backport.go b/tools/pipeline/internal/pkg/github/create_backport.go index 37f34bc1c6..4ef5d2cf71 100644 --- a/tools/pipeline/internal/pkg/github/create_backport.go +++ b/tools/pipeline/internal/pkg/github/create_backport.go @@ -128,8 +128,6 @@ func NewCreateBackportReq(opts ...NewCreateBackportReqOpt) *CreateBackportReq { CEBranchPrefix: "ce", CEAllowInactiveGroups: changed.FileGroups{ changed.FileGroupChangelog, - changed.FileGroupDocs, - changed.FileGroupPipeline, }, BaseOrigin: "origin", BackportLabelPrefix: "backport",