-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathaction.yml
More file actions
67 lines (63 loc) · 2.22 KB
/
Copy pathaction.yml
File metadata and controls
67 lines (63 loc) · 2.22 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
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
name: PRNote Action
description: Generate clear pull request titles and descriptions from commits and code changes.
author: richardj46
branding:
icon: edit-3
color: blue
inputs:
github-token:
description: GitHub token used to read and update the pull request.
required: true
gemini-api-key:
description: Optional Gemini API key. When omitted or unavailable, PRNote uses commit-history fallback generation.
required: false
update-title:
description: Whether PRNote may generate or update the pull request title.
required: false
default: "true"
update-body:
description: Whether PRNote may generate or update the pull request body.
required: false
default: "true"
comment:
description: Whether PRNote writes or updates an optional summary comment in the pull request conversation.
required: false
default: "false"
overwrite-title:
description: Whether PRNote overwrites an existing title with its canonical merge-request title.
required: false
default: "true"
overwrite-body:
description: Whether PRNote overwrites an existing body with the commit-message merge description.
required: false
default: "true"
max-diff-characters:
description: Maximum number of diff characters included in generation context.
required: false
default: "20000"
timeout-seconds:
description: Maximum time allowed for each Gemini request.
required: false
default: "120"
exclude:
description: Comma-separated glob patterns excluded from diff context.
required: false
default: "package-lock.json,yarn.lock,pnpm-lock.yaml,*.min.js,*.map,dist/**,build/**,vendor/**,coverage/**,generated/**,.next/**,target/**"
language:
description: Language used for the generated title and description.
required: false
default: "en"
model:
description: Gemini model used for generation.
required: false
default: "gemini-3.5-flash"
outputs:
title-updated:
description: Whether PRNote updated the pull request title.
body-updated:
description: Whether PRNote updated the pull request body.
comment-written:
description: Whether PRNote created or updated its pull request conversation comment.
runs:
using: node20
main: dist/index.js