forked from nalbion/auto-gpt-action
-
Notifications
You must be signed in to change notification settings - Fork 0
/
action.yml
26 lines (26 loc) · 1.15 KB
/
action.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
name: "Auto-GPT-Action"
description: "A GitHub Action that uses runs Auto-GPT to follow instructions in the issue description."
inputs:
openai_key:
description: "The OpenAI API key."
required: true
issue_body:
description: "The body of the issue."
required: true
issue_number:
description: "The number of the issue."
required: true
role:
description: "The role of the AI."
required: false
default: "I want you to act as a software developer who is willing to review the issue described and commit appropriate fixes on a feature branch. When files are mentioned in the goals you will check to see if they exist, and modify them as necessary instead of creating new files. You will run the tests and iterate until all tests pass and then you will exit."
outputs:
commit_message:
description: "The commit message generated by Auto-GPT."
comment_message:
description: "The comment message generated by Auto-GPT-Action."
runs:
using: "docker"
image: "Dockerfile"
args:
- "--ai_role ${{ inputs.role }} --openai_key ${{ inputs.openai_key }} --issue_body ${{ inputs.issue_body }} --issue_number ${{ inputs.issue_number }}"