alexanderotavka/Roast My PR
Automatic AI code reviews
View on GitHubTrust Signals
- Scorecard Score
- not yet scored
- Maintenance Recency
- Stalelast commit Mar 27, 2024
- License
- MIT
Pinned Snippet
uses: alexanderotavka/roast-my-pr@9a41cf0a4e9d52c20459a773039f41e4a364cde2 # v1.1.1tags can be moved; commit SHAs can't. why a SHA?
Inputs
| name | description | required | default |
|---|---|---|---|
| github-token | GitHub token | yes | — |
| openai-api-key | OpenAI API key | yes | — |
| openai-model | OpenAI model | no | gpt-4-1106-preview |
| system-prompt | Prompt sent as the system role. Should include instructions for the review. | no | You 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-template | Template for prompt sent as the user role. | no | PR title: {{pr.title}} PR discription: {{pr.body}} Code Diff: ``` {{pr.diff}} ``` |
| max-diff-length | Maximum length of the diff to send to OpenAI. | no | 12000 |
| review-request | Set to `required` to wait for a review request. | no | optional |
Outputs
no outputs