platisd/Autofill PR Description with OpenAI

Autofill you pull request with a high quality description by harvesting the power of OpenAI and ChatGPT

View on GitHub

Trust Signals

Scorecard Score
not yet scored
Maintenance Recency
Stale
License
None
namedescriptionrequireddefault
github_tokenThe GitHub tokenyes
openai_api_keyOpenAI API keyyes
pull_request_idPull request id (otherwise attempt to extract it from the GitHub metadata)no""
allowed_usersComma-separated list of GitHub usernames this action will run for, if empty it will run for all usersno""
openai_modelOpenAI model to use, needs to be compatible with the chat/completions endpointnogpt-4o-mini
max_tokensMaximum number of prompt tokens to useno1000
temperatureTemperature for the model, higher values will make the model more creative, lower values will make it more conservativeno0.6
sample_promptSample prompt to use for the model, refer to SAMPLE_PROMPT in the Python file.no""
sample_responseA sample of an ideal response based on the sample promptno""
completion_promptPrompt to use as the final prompt to the model, refer to COMPLETION_PROMPT in the Python file.no""
overwrite_descriptionOverwrite the PR description if it already exists. This also means that the action will run on every PR updatenofalse
azure_endpointAzure endpoint for OpenAI, if you are using Azure. Setting this will make the action use Azure OpenAI.no""
azure_openai_api_versionOpenAI API version, if you are using Azure.no""

no outputs