ci: add Dependabot config and examples-update-deps helper - #170
Open
sfc-gh-bnisco wants to merge 1 commit into
Open
ci: add Dependabot config and examples-update-deps helper#170sfc-gh-bnisco wants to merge 1 commit into
sfc-gh-bnisco wants to merge 1 commit into
Conversation
Add a Dependabot config plus a dev.py command to make dependency bumps tractable given the repo's cross-manifest version checks. Every frontend package.json is entangled in an equality check (examples must match the v1 template; rendered templates must match their cookiecutter source), and Dependabot cannot coordinate across manifests in a single PR. The config therefore only watches the examples for npm, groups the shared build toolchain so a Vite-style bump arrives as one PR per example instead of several, and adds a github-actions updater (which has no such constraint and merges cleanly). examples-update-deps is the write counterpart of examples-check-deps: it copies the template's shared dependency versions into every example, turning the manual propagation into `templates-update && examples-update-deps && all-npm-install`.
sfc-gh-bnisco
marked this pull request as ready for review
July 28, 2026 16:42
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.
Before: no
.github/dependabot.yml(the recent bump PRs were default security updates), and no command to propagate the template's shared dependency versions into the examples, soexamples-check-depscould only validate, never fix.After: a Dependabot config that watches the examples for npm (shared build toolchain grouped into one PR per example) plus a
github-actionsupdater, and a new./dev.py examples-update-depscommand that syncs the template's shared versions into every example. Landing a shared-toolchain bump is nowtemplates-update && examples-update-deps && all-npm-install.Note: because every manifest is in a cross-manifest equality check, Dependabot can't make shared-toolchain PRs green on arrival; templates and cookiecutter sources are intentionally excluded (explained in the config comments).