-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathaction.yml
More file actions
64 lines (61 loc) · 2.28 KB
/
action.yml
File metadata and controls
64 lines (61 loc) · 2.28 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: 'Setup APM'
description: 'Install agent primitives (skills, instructions, agents) for your CI workflows. One line. Zero config.'
author: 'microsoft'
branding:
icon: 'package'
color: 'purple'
inputs:
working-directory:
description: 'Working directory for execution. In non-isolated mode, this directory must exist and contain your apm.yml. In isolated, pack, or bundle modes the action creates it automatically.'
required: false
default: '.'
apm-version:
description: 'APM version to install (default: latest stable)'
required: false
default: 'latest'
script:
description: 'APM script to run after install (optional — by default only install runs)'
required: false
default: ''
dependencies:
description: 'YAML array of extra dependencies to install (additive to apm.yml). Supports strings (owner/repo) and objects ({git: url, path: subdir, ref: branch}).'
required: false
default: ''
isolated:
description: 'Ignore apm.yml and clear pre-existing primitive dirs (instructions/, agents/, skills/, prompts/) under .github/ — install only the inline dependencies'
required: false
default: 'false'
compile:
description: 'Run apm compile after install to generate AGENTS.md'
required: false
default: 'false'
pack:
description: 'Pack an APM bundle after install (produces .tar.gz by default)'
required: false
default: 'false'
bundle:
description: 'Restore from a bundle (local path or glob pattern). Skips APM installation entirely.'
required: false
default: ''
target:
description: 'Bundle target: copilot, vscode, claude, or all (used with pack: true)'
required: false
default: ''
archive:
description: 'Produce .tar.gz instead of directory (used with pack: true)'
required: false
default: 'true'
github-token:
description: 'GitHub token for API calls (avoids rate limits). Defaults to the automatic GITHUB_TOKEN.'
required: false
default: '${{ github.token }}'
outputs:
success:
description: 'Whether the action succeeded (true/false)'
primitives-path:
description: 'Path where agent primitives were deployed (.github)'
bundle-path:
description: 'Path to the packed bundle (only set in pack mode)'
runs:
using: 'node24'
main: 'dist/index.js'