From ac5e49546cf669fcd3e1d1dcfd398f2e0b00b256 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Torbj=C3=B8rn=20Vatn?= Date: Fri, 21 Nov 2025 13:52:51 +0100 Subject: [PATCH] Add commit_message with [skip ci] to mergeBranch To avoid unnecessary github action runs on the temporary combined-prs-working branch --- internal/cmd/combine_prs.go | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/internal/cmd/combine_prs.go b/internal/cmd/combine_prs.go index ffc8c79..6c8cd34 100644 --- a/internal/cmd/combine_prs.go +++ b/internal/cmd/combine_prs.go @@ -253,8 +253,9 @@ func createBranch(ctx context.Context, client RESTClientInterface, repo github.R func mergeBranch(ctx context.Context, client RESTClientInterface, repo github.Repo, base, head string) error { endpoint := fmt.Sprintf("repos/%s/%s/merges", repo.Owner, repo.Repo) payload := map[string]string{ - "base": base, - "head": head, + "base": base, + "head": head, + "commit_message": fmt.Sprintf("Merge %s into %s [skip ci]", head, base), } body, err := encodePayload(payload) if err != nil {