-
Notifications
You must be signed in to change notification settings - Fork 8
/
action.yml
61 lines (59 loc) · 1.61 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
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
name: "aider-chat-action"
description: "Easiest way to run Aider in your GitHub Actions workflow"
inputs:
openai_api_key:
description: "OpenAI API Key"
default: ""
required: false
anthropic_api_key:
description: "Anthropic API Key"
default: ""
required: false
gemini_api_key:
description: "Gemini API Key"
default: ""
required: false
groq_api_key:
description: "Groq API Key"
default: ""
required: false
cohere_api_key:
description: "Cohere API Key"
default: ""
required: false
deepseek_api_key:
description: "Deepseek API Key"
default: ""
required: false
openrouter_api_key:
description: "OpenRouter API Key"
default: ""
required: false
model:
description: "Model to use for Aider"
default: "gpt-4-1106-preview"
required: false
branch:
description: "Branch to run Aider on"
default: "main"
required: false
aider_args:
description: "Space-delimited args to pass to aider (e.g. --yes --message 'Make the dashboard sidebar purple')"
required: true
runs:
using: "docker"
image: "Dockerfile"
env:
OPENAI_API_KEY: ${{ inputs.openai_api_key }}
ANTHROPIC_API_KEY: ${{ inputs.anthropic_api_key }}
GEMINI_API_KEY: ${{ inputs.gemini_api_key }}
GROQ_API_KEY: ${{ inputs.groq_api_key }}
COHERE_API_KEY: ${{ inputs.cohere_api_key }}
DEEPSEEK_API_KEY: ${{ inputs.deepseek_api_key }}
OPENROUTER_API_KEY: ${{ inputs.openrouter_api_key }}
FEATURE_REF: ${{ inputs.branch }}
MODEL: ${{ inputs.model }}
AIDER_ARGS: ${{ inputs.aider_args }}
branding:
icon: "cpu"
color: "white"