-
Notifications
You must be signed in to change notification settings - Fork 0
/
action.yml
32 lines (32 loc) · 1.12 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
name: 'Markdown Reviwer and Translator'
description: 'Markdown grammar reviewer and translation into any other language powered by Google Gemini'
author: 'Thiago Mendonca'
branding:
icon: 'book-open'
color: 'purple'
inputs:
token:
description: 'GITHUB_TOKEN or a `repo` scoped Personal Access Token (PAT)'
default: ${{ github.token }}
aiApiKey:
description: API Key to use the AI service
required: true
aiProvider:
description: 'AI Provider'
required: false
default: 'google'
aiModel:
description: 'AI language model to use.'
required: false
default: 'gemini-1.5-flash'
translateCommitMessageTemplate:
description: 'Commit message template when creating new translated file. %file is replaced with the file name and %lang with language'
required: false
default: 'add translation of file %file for language %lang'
applyReviewCommitMessageTemplate:
description: 'Commit message template when creating a reviewed file. %file is replaced with the file name'
required: false
default: 'apply review suggestions for file %file'
runs:
using: 'node20'
main: 'dist/index.js'