generated from cicirello/python-github-action-template
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathaction.yml
43 lines (43 loc) · 1.24 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
# Make sure to change the action name here (must be unique).
# Update the rest as needed.
name: 'gemini-python-tutor'
description: 'Gemini Python Tutor for Github Classroom Assignments'
branding: # Look at documentation for branding options/requirements. These are my favorites.
icon: 'book-open'
color: 'green'
inputs:
report-files:
description: 'Comma-separeted list of json report file paths'
required: true
default: 'report.json'
type: list
api-key:
description: 'API token for AI'
required: true
type: string
model: # New input for the model
description: 'The Gemini model to use (e.g., gemini-2.0-flash)'
required: false
default: 'gemini-2.0-flash'
type: string
student-files:
description: "Comma-separated list of student's Python file paths or a glob pattern"
required: false
default: 'exercise.py'
type: list
readme-path:
description: 'assignment instructions path'
required: false
default: 'README.md'
type: string
explanation-in:
description: 'Generate explanations in the specified language'
required: false
default: 'English'
type: string
outputs:
feedback:
description: 'Feedback from the tutor'
runs:
using: 'docker'
image: 'Dockerfile'