Repository navigation
ci(docs): dispatch docs rebuild to lockfamily, nav.toml rule (#200) - #202
Merged
Merged
Conversation
Send a repository_dispatch (type docs) to lockfamily on a push to main touching README/CHANGELOG/GUIDE/docs, and on a published release, so lockfamily.dev/docs shows the change within minutes. Without the LOCKFAMILY_DOCS_TOKEN secret the job passes with a notice. README's contributing section states the nav.toml rule. Closes #200 Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Closes #200.
What
.github/workflows/docs-dispatch.yml: on a push tomaintouchingREADME.md,CHANGELOG.md,GUIDE.mdordocs/**, and on a published release, sendsrepository_dispatch(typedocs) toDavidGodefroid/lockfamily, whosepagesworkflow rebuilds lockfamily.dev/docs.permissions: {}; uses no third-party action (onlyghon the runner), so nothing to pin.LOCKFAMILY_DOCS_TOKENsecret, the step prints::notice::LOCKFAMILY_DOCS_TOKEN not setand exits 0; the nightly build still picks the change up.docs/file or renamed/removed README H2 needs a lockfamilydocs-site/nav.tomlPR). The repo has no PR template, so no checkbox (per the issue: "With a PR template").Owner action
Create the fine-grained token (lockfamily only, Contents read/write) and set it as
LOCKFAMILY_DOCS_TOKENhere (lockfamily#39). Until then the workflow passes with the notice.🤖 Generated with Claude Code