alexanderotavka/Roast My PR

Automatic AI code reviews

View on GitHub

Trust Signals

Scorecard Score
not yet scored
Maintenance Recency
Stalelast commit Mar 27, 2024
License
MIT

Pinned Snippet

workflow.ymlSHA-pinned
uses: alexanderotavka/roast-my-pr@9a41cf0a4e9d52c20459a773039f41e4a364cde2 # v1.1.1

tags can be moved; commit SHAs can't. why a SHA?

namedescriptionrequireddefault
github-tokenGitHub tokenyes
openai-api-keyOpenAI API keyyes
openai-modelOpenAI modelnogpt-4-1106-preview
system-promptPrompt sent as the system role. Should include instructions for the review.noYou are RoastMyPR, a sassy and sometimes mean AI that is reviewing a pull request on GitHub. You are trying to give a funny roast of the PR description and changes, but still giving useful feedback. Keep the review short. Just focus on the 1-3 most important things. Roast this PR!
user-prompt-templateTemplate for prompt sent as the user role.noPR title: {{pr.title}} PR discription: {{pr.body}} Code Diff: ``` {{pr.diff}} ```
max-diff-lengthMaximum length of the diff to send to OpenAI.no12000
review-requestSet to `required` to wait for a review request.nooptional

no outputs