-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathaction.yml
More file actions
64 lines (61 loc) · 1.91 KB
/
Copy pathaction.yml
File metadata and controls
64 lines (61 loc) · 1.91 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
name: pluginpack-action
description: >-
Build a pluginpack source repo for one target and sync the generated output
into a published plugin repo by opening a pull request. Never pushes to the
output repo's default branch.
author: Glean
branding:
icon: package
color: blue
inputs:
target:
description:
'The pluginpack target to build (e.g. claude, cursor, antigravity,
copilot).'
required: true
output-repo:
description: 'The published repo to sync into, as "owner/name".'
required: true
output-ref:
description: 'Base branch in the output repo that the sync PR targets.'
required: false
default: main
token:
description: >-
Token with contents:write and pull-requests:write on the output repo.
Prefer a GitHub App installation token scoped to the output repos.
required: true
mode:
description: >-
"sync" (default) builds and opens/updates a PR when the output is stale.
"check" only verifies the output is current and fails the job if it is
not.
required: false
default: sync
pluginpack-version:
description: 'npm version/dist-tag of @gleanwork/pluginpack to run.'
required: false
default: latest
working-directory:
description: 'Path to the checked-out pluginpack source repo.'
required: false
default: '.'
pr-branch-prefix:
description:
'Prefix for the machine-owned sync branch; the target is appended.'
required: false
default: pluginpack/sync
pr-labels:
description: 'Comma-separated labels to apply to the sync PR.'
required: false
default: pluginpack-sync
outputs:
stale:
description: '"true" when the output repo differed from a fresh build.'
pr-number:
description: 'Number of the opened or updated sync PR (sync mode only).'
pr-url:
description: 'HTML URL of the opened or updated sync PR (sync mode only).'
runs:
using: node24
main: dist/index.js