Skip to content

Commit 9ca9513

Browse files
committed
Add developer docs maintenance workflow
1 parent bc7e8ec commit 9ca9513

1 file changed

Lines changed: 69 additions & 0 deletions

File tree

Lines changed: 69 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,69 @@
1+
name: Build With WordPress Developer Docs Agent
2+
3+
on:
4+
workflow_dispatch:
5+
push:
6+
branches:
7+
- trunk
8+
9+
permissions:
10+
contents: write
11+
pull-requests: write
12+
issues: write
13+
14+
concurrency:
15+
group: developer-docs-agent-${{ github.ref }}
16+
cancel-in-progress: false
17+
18+
jobs:
19+
developer-docs-agent:
20+
name: Maintain Developer Docs
21+
uses: Automattic/docs-agent/.github/workflows/maintain-docs.yml@main
22+
with:
23+
audience: technical
24+
base_ref: trunk
25+
docs_branch: docs-agent/build-with-wordpress-developer-docs
26+
writable_paths: README.md,docs/**,plugins/**/README.md
27+
context_repositories: |
28+
[
29+
{
30+
"repo": "Automattic/studio",
31+
"ref": "trunk",
32+
"alias": "studio",
33+
"paths": [
34+
"apps/cli/ai/tools/**",
35+
"apps/cli/ai/system-prompt.ts",
36+
"apps/cli/commands/mcp.ts",
37+
"eval/promptfoo.config.yaml"
38+
]
39+
},
40+
{
41+
"repo": "WordPress/agent-skills",
42+
"ref": "trunk",
43+
"alias": "wordpress-agent-skills",
44+
"paths": [
45+
"skills/**",
46+
"docs/packaging.md",
47+
".github/workflows/ai-skill-maintenance.yml"
48+
]
49+
}
50+
]
51+
verification_commands: |
52+
[
53+
"pnpm build",
54+
"pnpm verify"
55+
]
56+
drift_checks: |
57+
[
58+
{
59+
"command": "git diff --exit-code",
60+
"description": "Generated package outputs are committed after build"
61+
}
62+
]
63+
prompt: |
64+
Maintain developer-facing documentation for Build with WordPress after source changes land on the base branch.
65+
66+
For the first manual bootstrap run, create or improve the initial developer documentation structure if the repository does not already have one. For push-triggered merge checks, make the smallest source-grounded documentation update needed for newly merged code or finish with no changes when documentation is current.
67+
68+
Cover the repository purpose, package layout, generated plugin artifacts, build and verification commands, skill packaging, Studio integration points, and contributor workflows. Use the read-only context aliases `studio` and `wordpress-agent-skills` only as source evidence for integration behavior.
69+
secrets: inherit

0 commit comments

Comments
 (0)