Skip to content

Commit

Permalink
Add warning emoji.
Browse files Browse the repository at this point in the history
  • Loading branch information
Gerrit91 committed Feb 26, 2024
1 parent 729f95e commit bbda194
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 @@ -139,7 +139,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.GetV3Client().Issues.CreateComment(ctx, r.client.Organization(), r.repoName, *openPR.Number, &v3.IssueComment{
Body: v3.String(fmt.Sprintf("Release `%v` in repository %s (issued by @%s) was rejected because release is currently frozen. Please re-issue the release hook once this branch was merged or unfrozen.",
Body: v3.String(fmt.Sprintf(":warning: Release `%v` in repository %s (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.RepositoryURL,
p.Sender,
Expand Down

0 comments on commit bbda194

Please sign in to comment.