Skip to content

Commit

Permalink
Remove html style from error patch comment
Browse files Browse the repository at this point in the history
  • Loading branch information
mzampetakis committed Jun 30, 2024
1 parent 9458918 commit f4068e4
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions cmd/github-actions-adapter/serve/serve.go
Original file line number Diff line number Diff line change
Expand Up @@ -72,8 +72,8 @@ func (gas *GitHubActionsServer) Serve(ctx context.Context) error {
if err != nil {
//In case of an error append to the comment patch
if brokerRequestMessage.PatchEvent != nil {
commentMessage := "Could bot check GitHub Action Workflows."
commentMessage += "\n <details><summary>Error Details</summary>" + err.Error() + "</details>"
commentMessage := "Could not check GitHub Action Workflows."
commentMessage += "\n *Error Details: " + err.Error() + "*"
_ = gas.commentOnPatch(ctx, brokerRequestMessage, commentMessage, true)
}
return err
Expand Down

0 comments on commit f4068e4

Please sign in to comment.