Skip to content

Commit

Permalink
Better message.
Browse files Browse the repository at this point in the history
  • Loading branch information
Gerrit91 committed Feb 26, 2024
1 parent 2c53e0e commit 1ea2250
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/webhooks/github/actions/aggregate_releases.go
Original file line number Diff line number Diff line change
Expand Up @@ -138,7 +138,7 @@ func (r *AggregateReleases) AggregateRelease(ctx context.Context, p *AggregateRe
log.Infow("skip applying release actions to aggregation repo because release is currently frozen")

_, _, err = r.client.GetV3AppClient().PullRequests.CreateComment(ctx, r.client.Organization(), r.repoName, *openPR.Number, &v3.PullRequestComment{
Body: v3.String(fmt.Sprintf("Release `%v` in repository %q was rejected because release is currently frozen. Please re-issue the release hook once this branch was merged or unfrozen. /cc @%s",
Body: v3.String(fmt.Sprintf("Release `%v` in repository %q (issued by @%s) was rejected because release is currently frozen. Please re-issue the release hook once this branch was merged or unfrozen.",
p.TagName,
p.RepositoryName,
p.Sender,
Expand Down

0 comments on commit 1ea2250

Please sign in to comment.