Write code and create pull request from the issue by chatgpt

Objectives

Developing software with minimum code writing.

Aim

  • Once a requester create an issue on github, ChatGPT write code, create pull request and review the pull request.
  • All a human need to do is review and merge it.

What this workflow do

  • Send the issue title and content to the ChatGPT API and obtain the differences as a diff.
  • Automatically create a topic branch.
  • Apply the diff to your project, commit the changes, and create a pull request.
  • Summarize the changes in the title of the pull request.
  • Include the issue number that triggered the action in the body of the pull request.

Ssetup

Add following value into the Secrets.

  • CHATGPT_API_KEY
    • API key to access ChatGPT.

Development status

  • In Development.
  • Created concept code by ChatGPT :D