ci(docs): auto-sync PROJECT_TREE.md to the docs repo on push to main #28
Reference in New Issue
Block a user
No description provided.
Delete Branch "chore/sync-project-tree-ci"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Adds a
sync-project-treeworkflow that keepsandroid/PROJECT_TREE.mdinRunicGateway/docscurrent.Behavior
main(+ manualworkflow_dispatch).git ls-filesvia.gitea/scripts/gen_tree.py(deterministic: directories first, then case-insensitive name).android/PROJECT_TREE.md, and if it changed, force-pushes branchchore/sync-android-treeand opens a PR against docsmain(reuses the open PR if one already exists). Never touches docsmaindirectly.REGISTRY_USER/REGISTRY_TOKENsecrets (the token needs read/write onRunicGateway/docs).Companion to docs PR #41 (seeds the initial snapshots) and the identical workflows in
link(#16) andwebsite(#98). The first run may open a small follow-up PR normalizing the seed to the generator's exact output.🤖 AI-assisted (Claude). Disclosed per org policy.
Co-Authored-By: Claude noreply@anthropic.com