hmu332233/Similar Package Reviewer
Provides a summary of similar packages detected by analyzing pull requests for new dependencies, powered by ChatGPT
View on GitHubTrust Signals
- Scorecard Score
- not yet scored
- Maintenance Recency
- Stale
- License
- None
- Runtime
- Deprecated runtime
Inputs
| name | description | required | default |
|---|---|---|---|
| openai_key | openai api key | yes | — |
| origin_branch | The branch to be used as the base for comparison, typically the main branch of the project. Can be customized if needed. | — | origin/${{ github.base_ref }} |
| target_branch | The branch associated with the pull request, which contains the changes to be compared against the origin branch. Can be customized if needed. | — | origin/${{ github.head_ref }} |
| use_functioncall | Indicates whether to use the functioncall feature of ChatGPT. Using functioncall can provide more stable execution but may produce slightly different comparison results. | — | false |
| model | Specifies the ChatGPT model to be used for analyzing pull requests. Different models may provide varying levels of analysis accuracy and performance. Default is gpt-3.5-turbo. | — | gpt-3.5-turbo |
Outputs
| name | description |
|---|---|
| results | A summary of any similar packages detected during the comparison, intended to be posted as a comment on the pull request for review and consideration. |