Skip to content

dukeluo/gpt-runner

Use this GitHub action with your project
Add this Action to an existing workflow or create a new one
View on Marketplace

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

GPT Runner

This action allows you to run GPT prompt for your codebase from GitHub Actions.

How to start

Firstly, you need to set OpenAI API Key with a action secret named OPENAI_API_KEY for this action. You can find more information about how to do it here.

To use this action in your workflow, you can add the following step:

- name: Run GPT Prompt
  uses: DukeLuo/gpt-runner@v1.0.0
  env:
    OPENAI_API_KEY: ${{ secrets.OPENAI_API_KEY }}
  with:
    cmd: promptr -p "Cleanup the code in src/index.js" # Specify your desired GPT Prompt command

You can check out this full example workflow for more information.

Further Reading

Donate