sshnaidm/Watson AI Code review Github Action
A Github Action that posts code review from Watson AI to pull request
View on GitHubTrust Signals
- Scorecard Score
- not yet scored
- Maintenance Recency
- Stale
- License
- None
Inputs
| name | description | required | default |
|---|---|---|---|
| github-token | The token used to authenticate with the GitHub API | no | ${{ github.token }} |
| wca-key | The Watson AI API key | yes | — |
| prompt | The prompt to use for the analysis. | no | Please review the code change below and provide feedback. |
| post-if-error | Whether to post a comment if there was an error | no | true |
| context-lines | Number of context lines to include in the diff | no | 10 |
| add-files | Whether to include additional context files in the AI review. If set to `"true"`, all changed files will be sent to the AI. | no | false |
| review-title | The title of the review | no | # Watson AI Code Review |
Outputs
| name | description |
|---|---|
| results | The results of the code review |