scaffold-sync

command
v0.9.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 16, 2026 License: MIT Imports: 8 Imported by: 0 modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Overview

Command scaffold-sync propagates the pinned action refs in the committed release workflows back into the scaffold templates they were rendered from, keeping TestSelfScaffoldParity satisfied after a dependency bump.

It exists because the parity is one-directional in practice. Dependabot's github-actions ecosystem discovers `.github/workflows/*` and composite action manifests only — no ecosystem scans a .tmpl under internal/ — so every action bump it opens lands on the rendered workflow alone, breaks parity, and can never go green on its own (iss-209). This command is the other half of that loop, run by hand via `make scaffold-sync`. Nothing in CI invokes it: the drift is gated by TestSelfScaffoldParity and TestSyncRepoPinsIsCleanToday under preflight, and zero-touch propagation onto the dependabot branch is a recorded dead end (a workflow_run implementation was built and rejected in review — see iss-209).

Re-rendering the template over the workflow would REVERT the bump and turn a red PR into a silently useless green one, so the flow is one-way by design.

Exit codes: 0 nothing to do (or, with no -check, the sync was applied); 1 a fault; 3 with -check, templates are out of date and nothing was written.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL