From bbda1949ffccd542a103f1f0bd60bb6d778b11cf Mon Sep 17 00:00:00 2001 From: Gerrit Date: Mon, 26 Feb 2024 12:38:11 +0100 Subject: [PATCH] Add warning emoji. --- pkg/webhooks/github/actions/aggregate_releases.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkg/webhooks/github/actions/aggregate_releases.go b/pkg/webhooks/github/actions/aggregate_releases.go index be8a239..b9c2775 100644 --- a/pkg/webhooks/github/actions/aggregate_releases.go +++ b/pkg/webhooks/github/actions/aggregate_releases.go @@ -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,