sejinmind/Autofill PR Description with OpenAI
Autofill you pull request with a high quality description by harvesting the power of OpenAI and ChatGPT
View on GitHubTrust Signals
- Scorecard Score
- not yet scored
- Maintenance Recency
- Stale
- License
- None
Inputs
| name | description | required | default |
|---|---|---|---|
| github_token | The GitHub token | yes | — |
| openai_api_key | OpenAI API key | yes | — |
| pull_request_id | Pull request id (otherwise attempt to extract it from the GitHub metadata) | no | "" |
| allowed_users | Comma-separated list of GitHub usernames this action will run for, if empty it will run for all users | no | "" |
| openai_model | OpenAI model to use, needs to be compatible with the chat/completions endpoint | no | gpt-5.4 |
| max_tokens | Maximum number of completion tokens to generate | no | 4096 |
| temperature | Temperature for the model, higher values will make the model more creative, lower values will make it more conservative | no | 0.6 |
| sample_prompt | Sample prompt to use for the model, refer to SAMPLE_PROMPT in the Python file. | no | "" |
| sample_response | A sample of an ideal response based on the sample prompt | no | "" |
| language | Language to use for the autofill, default is English | no | english |
Outputs
no outputs