-
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathaction.yml
More file actions
39 lines (36 loc) · 1.16 KB
/
action.yml
File metadata and controls
39 lines (36 loc) · 1.16 KB
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
name: 'PullPrompt'
description: 'Comments on pr using a user-defined prompt, generating responses via the Google Gemini API'
author: "Pradumna Saraf"
inputs:
github-token:
description: 'GitHub token for authentication'
required: true
gemini-api-key:
description: 'API key for the Google Gemini API'
required: true
user-prompt:
description: 'A user-defined prompt for the comment'
required: false
default: 'Share an open-source tip in 2 to 3 lines to help developers improve their workflow'
gemini-model:
description: 'Model to use for the response. The default is gemini-2.5-pro. You can use `gemini-2.5-flash`, `gemini-2.5-flash-lite`, `gemini-2.0-flash`, `gemini-2.0-flash-lite`'
required: false
default: "gemini-2.5-pro"
word-limit:
description: 'Word limit for the response'
required: false
default: "200"
output-language:
description: 'Output language for the response'
required: false
default: "english"
model-temp:
description: 'Temperature for the model'
required: false
default: "0.5"
runs:
using: 'node20'
main: 'dist/index.js'
branding:
icon: message-circle
color: 'green'