Skip to content

ci: add Dependabot config and examples-update-deps helper - #170

Open
sfc-gh-bnisco wants to merge 1 commit into
masterfrom
dependabot-config
Open

ci: add Dependabot config and examples-update-deps helper#170
sfc-gh-bnisco wants to merge 1 commit into
masterfrom
dependabot-config

Conversation

@sfc-gh-bnisco

Copy link
Copy Markdown
Contributor

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, so examples-check-deps could 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-actions updater, and a new ./dev.py examples-update-deps command that syncs the template's shared versions into every example. Landing a shared-toolchain bump is now templates-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).

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
sfc-gh-bnisco marked this pull request as ready for review July 28, 2026 16:42
@sfc-gh-bnisco
sfc-gh-bnisco requested review from a team as code owners July 28, 2026 16:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant