ci(docs): auto-sync PROJECT_TREE.md to the docs repo on push to main #16
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 keepslink/PROJECT_TREE.mdinRunicGateway/docscurrent.Behavior
main(+ manualworkflow_dispatch).git ls-filesvia.gitea/scripts/gen_tree.py(deterministic: directories first, then case-insensitive name).link/PROJECT_TREE.md, and if it changed, force-pushes branchchore/sync-link-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, which seeds the initial
PROJECT_TREE.mdfiles. The first run of this workflow may open a small follow-up PR normalizing the tree to the generator's exact output (dropping the archive-stylelink-main/root wrapper from the seed).🤖 AI-assisted (Claude). Disclosed per org policy.
Co-Authored-By: Claude noreply@anthropic.com