Skip to content

Commit

Permalink
fix: include [skip changelog] in kubo PRs
Browse files Browse the repository at this point in the history
  • Loading branch information
galargh committed Nov 14, 2023
1 parent 909bc19 commit 746f8b5
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion actions/merge_branch.go
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ func (ctx MergeBranch) Run() error {
log.Info("I'm going to create a PR that merges the release branch to master and ask you to merge it for me.")

branch := repos.Kubo.ReleaseMergeBranch(ctx.Version)
title := fmt.Sprintf("Merge Release: %s", ctx.Version)
title := fmt.Sprintf("Merge Release: %s [skip changelog]", ctx.Version)
body := fmt.Sprintf("This PR merges the release branch %s to %s", ctx.Version, repos.Kubo.DefaultBranch)

_, err := ctx.GitHub.GetOrCreateBranch(repos.Kubo.Owner, repos.Kubo.Repo, branch, repos.Kubo.ReleaseBranch)
Expand Down
4 changes: 2 additions & 2 deletions actions/prepare_branch.go
Original file line number Diff line number Diff line change
Expand Up @@ -260,7 +260,7 @@ func (ctx PrepareBranch) Run() error {
}
currentVersionNumber := ctx.Version.String()[1:]
base := repos.Kubo.ReleaseBranch
title := fmt.Sprintf("Release: %s", ctx.Version.MajorMinorPatch())
title := fmt.Sprintf("Release: %s [skip changelog]", ctx.Version.MajorMinorPatch())
body := fmt.Sprintf("This PR creates release %s", ctx.Version.MajorMinorPatch())
draft := ctx.Version.IsPrerelease()

Expand Down Expand Up @@ -311,7 +311,7 @@ Please approve after all the required commits are cherry-picked.`, branch, repos
source = repos.Kubo.DefaultBranch
currentVersionNumber = dev[1:]
base = repos.Kubo.DefaultBranch
title = fmt.Sprintf("Update Version: %s", ctx.Version.MajorMinor())
title = fmt.Sprintf("Update Version: %s [skip changelog]", ctx.Version.MajorMinor())
body = fmt.Sprintf("This PR updates version as part of the %s release", ctx.Version.MajorMinor())
draft = false

Expand Down

0 comments on commit 746f8b5

Please sign in to comment.