[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 <me@ryan.ec>
Co-authored-by: Ryan Cragun <me@ryan.ec>
This commit is contained in:
Vault Automation 2025-08-22 10:19:35 -06:00 committed by GitHub
parent 80d29b4644
commit e1e1518141
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 2 additions and 8 deletions

View file

@ -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()

View file

@ -128,8 +128,6 @@ func NewCreateBackportReq(opts ...NewCreateBackportReqOpt) *CreateBackportReq {
CEBranchPrefix: "ce",
CEAllowInactiveGroups: changed.FileGroups{
changed.FileGroupChangelog,
changed.FileGroupDocs,
changed.FileGroupPipeline,
},
BaseOrigin: "origin",
BackportLabelPrefix: "backport",