Git diff is unreliable as a publish gate — failed runs silently drop
files. Wiki idempotency (commit SHA in banner) is now the sole
gating mechanism: unchanged pages are skipped, changed pages update.
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
main branch only has READMEs; renderer code lives on automation/songs.
Also adds --depth 1 since history isn't needed for a code dependency.
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
workflow_call cross-repo fetch fails auth on this Gitea setup —
the auto-generated run token is scoped to ncmr-songs only and
cannot clone the private novoyuuparosk-auto-wiki repo during
workflow preparation. Flattened into a standalone job that
clones auto-wiki in a step using FAPAT, which works.
Also switches server URL references to vars.GITEA_URL to avoid
relying on github.server_url which resolves to github.com here.
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Calls novoyuuparosk-auto-wiki/.gitea/workflows/publish-songs.yml
on push to master (excluding wip/, README.md, .gitignore, .claude/).
References automation/songs branch during development — switch to @main
when that branch merges.
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>