Need some guidance on creating comments on PR from GitHub Action failed checks

I’m trying to find a way to post failed checks from the checkov action as a comment on a PR but after many hours I’m back to square one.

I’m fairly new to GitHub in general so maybe I’m missing something obvious, but after a lot of searching and trial and error I’ve come up light. If anyone can point me towards a thread where someone has already accomplished something similar, or even just list off a few ways this might be achieved I’d be very appreciative.

I don’t believe there is a way to do this from any feature built in to checkov. Right now my best guess is outputting the failed checks to a file/artifact and somehow cat’ing that to a comment.

1 Like