Skip to content

Commit 570cb44

Browse files
committed
fix auto plan disabled msg
1 parent 2442e5a commit 570cb44

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

prplanner/planner.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -124,7 +124,7 @@ func (p *Planner) processPullRequest(ctx context.Context, pr *pr, kubeModuleList
124124
if skipCommitRun {
125125
// add limit msg comment if not already added
126126
if !isAutoPlanDisabledCommentPosted(pr.Comments.Nodes) {
127-
comment := prComment{Body: autoPlanDisabledTml}
127+
comment := prComment{Body: autoPlanDisabledTml + embedMetadata(CommentMetadata{Type: MsgTypeAutoPlanDisabled})}
128128
_, err := p.github.postComment(pr.BaseRepository.Owner.Login, pr.BaseRepository.Name, 0, pr.Number, comment)
129129
if err != nil {
130130
p.Log.Error("unable to post limit reached msg", "err", err)

0 commit comments

Comments
 (0)