Skip to content

Commit 49402be

Browse files
committed
fix workflows
1 parent 1a6adc9 commit 49402be

2 files changed

Lines changed: 13 additions & 0 deletions

File tree

workflows/agentic-wiki-coder.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,15 @@
11
---
22
name: Agentic Wiki Coder
3+
34
description: >
45
Analyzes wiki edits for new or changed functionality, implements code changes,
56
runs tests, and creates a PR. The reverse of agentic-wiki-writer.
7+
68
on: gollum
9+
710
permissions:
811
contents: read
12+
913
tools:
1014
bash: true
1115
edit:
@@ -17,6 +21,7 @@ tools:
1721
allowed-extensions: [".json", ".md"]
1822
max-file-size: 1048576
1923
max-file-count: 50
24+
2025
steps:
2126
- name: Pre-stage event payload for sandbox
2227
run: |
@@ -31,12 +36,14 @@ steps:
3136
gh repo clone "${GITHUB_REPOSITORY}.wiki" /tmp/gh-aw/wiki
3237
echo "Wiki cloned to /tmp/gh-aw/wiki/"
3338
ls /tmp/gh-aw/wiki/
39+
3440
safe-outputs:
3541
create-pull-request:
3642
title-prefix: "[wiki-to-code]"
3743
labels: [enhancement, automated, wiki-driven]
3844
protected-files: fallback-to-issue
3945
noop: {}
46+
4047
timeout-minutes: 120
4148
---
4249

workflows/agentic-wiki-writer.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@ name: Agentic Wiki Writer
33
description: >
44
Generates GitHub wiki pages from source code using a PAGES.md template.
55
Runs once a day if any merges to the default branch have happened, or on manual dispatch.
6+
67
on:
78
workflow_dispatch:
89
inputs:
@@ -11,10 +12,12 @@ on:
1112
type: boolean
1213
default: false
1314
schedule: daily
15+
1416
permissions:
1517
contents: read
1618
issues: read
1719
pull-requests: read
20+
1821
steps:
1922
- name: Pre-stage event payload for sandbox
2023
run: |
@@ -23,6 +26,7 @@ steps:
2326
cat /tmp/gh-aw/event.json
2427
- name: Create agentic-wiki directory
2528
run: mkdir -p .github/agentic-wiki
29+
2630
tools:
2731
bash:
2832
- "find * -type f -not -path '*/node_modules/*' -not -path '*/.git/*'"
@@ -31,6 +35,7 @@ tools:
3135
- "ls"
3236
- "cat *"
3337
- "head *"
38+
edit:
3439
repo-memory:
3540
branch-name: memory/agentic-wiki
3641
description: "Source file mappings, content hashes, and file summaries for incremental wiki regeneration"
@@ -39,6 +44,7 @@ tools:
3944
max-file-count: 50
4045
github:
4146
toolsets: [default]
47+
4248
safe-outputs:
4349
create-pull-request:
4450
title-prefix: "[agentic-wiki]"

0 commit comments

Comments
 (0)