Skip to content

Commit

Permalink
Modified the message that only top level approvers can change blocker…
Browse files Browse the repository at this point in the history
… labels (#3647)

Signed-off-by: Anish Bista <[email protected]>
  • Loading branch information
anishbista60 authored Sep 16, 2024
1 parent 56e48d9 commit b4160fc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion external-plugins/release-blocker/server.go
Original file line number Diff line number Diff line change
Expand Up @@ -324,7 +324,7 @@ func (s *Server) handleIssueComment(l *logrus.Entry, ic github.IssueCommentEvent

// not authorized.
if !ok {
resp := fmt.Sprintf("only [%s](https://github.com/orgs/%s/people) org members may request release block label", org, org)
resp := fmt.Sprintf("Only top-level approvers from the [OWNERS](https://github.com/%s/%s/blob/main/OWNERS_ALIASES) file may request the release block label", org, org)
s.log.WithFields(l.Data).Info(resp)
return s.ghc.CreateComment(org, repo, num, plugins.FormatICResponse(ic.Comment, resp))
}
Expand Down

0 comments on commit b4160fc

Please sign in to comment.