Skip to content

Commit b74674e

Browse files
dsymeCopilot
andcommitted
initialize repo assist memory
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
1 parent b6c20e3 commit b74674e

2 files changed

Lines changed: 65 additions & 19 deletions

File tree

‎.github/workflows/repo-assist.lock.yml‎

Lines changed: 43 additions & 18 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

‎.github/workflows/repo-assist.md‎

Lines changed: 22 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -232,6 +232,27 @@ safe-outputs:
232232
target: "*"
233233

234234
steps:
235+
- name: Initialize Repo Assist memory
236+
env:
237+
MEMORY_DIR: /tmp/gh-aw/repo-memory/default
238+
run: |
239+
if [[ ! -f "$MEMORY_DIR/notes.json" ]]; then
240+
cat > "$MEMORY_DIR/notes.json" <<'EOF'
241+
{
242+
"version": 1,
243+
"cursors": {
244+
"labelling_after": null,
245+
"investigation_after": null
246+
},
247+
"issues": [],
248+
"fixes": [],
249+
"checks": [],
250+
"completed_actions": [],
251+
"priorities": []
252+
}
253+
EOF
254+
fi
255+
235256
- name: Fetch repo data for task weighting
236257
env:
237258
GH_TOKEN: ${{ github.token }}
@@ -323,7 +344,7 @@ steps:
323344
json.dump(result, f, indent=2)
324345
EOF
325346
326-
source: githubnext/agentics/workflows/repo-assist.md@faa9c7d63dfc9d0bb6c48acfb0c9704e16ec98cc
347+
source: githubnext/agentics/workflows/repo-assist.md@e37241b21c78a7b636faecb61a43d81c1474c889
327348
---
328349

329350
# Repo Assist

0 commit comments

Comments
 (0)