Repository navigation
Add a Renovate config for the action, shared-workflow, npm, and Node pins - #14
Merged
Merged
Conversation
…pins - Whitelists the three managers the repo's pins live in; every other manager stays off until deliberately added - Sets the 7-day cooldown at top level, with no preset that could smuggle a shorter npm rule under it - Chooses `.jsonc`: Renovate's preferred commented format, and the one whose config-migration PRs preserve comments - Records the posture in `_docs/supply-chain.md` as one bullet; the config is inert until the repo is added to the Mend app
- Closes the one path around the 7-day cooldown: a re-pointed upstream tag arrives as a digest update aged against the tag's original release, so it clears the gate at once (r1.4) - Trues the posture bullet to what the config delivers: drops the "only", names the digest exception (r1.5)
- Renovate's github-tags datasource ages a version by its Release date only when one exists, else by the git commit or tagger date, which the tag's pusher sets; a release-less tag on a backdated commit clears the 7-day cooldown at once (r2.1) - `overrideDatasource: github-releases` on the github-actions manager makes only released versions candidates and reads their server-set publication date; a local `renovate --platform=local --dry-run` on 44.82.0 confirmed the three pins still resolve, a stale SHA still yields a digest update, and an old version still yields the SHA + comment rewrite - Spells both action rules out in the posture bullet
- A release's tag can be re-pointed after the release has aged: Renovate then proposes the new commit as an ordinary version bump, aged against the original publication date, so neither the cooldown nor a digest-only gate holds it (r3.1, reproduced by three reviewers) - One rule replaces two: `dependencyDashboardApproval` on the whole github-actions manager, the tick taken after the maintainer has checked the commit, so no upstream code runs here unseen - `branchTopic` carries the new digest: a tag moved after a tick is a new branch needing its own tick, and the stale PR autocloses (r3.2) - Posture bullet restated around what the cooldown can and cannot vouch for
- What the gate prevented was one run of a suspect commit in the check job, which holds a read-only token, no secrets, and no cache; what it cost was ~40 silent dashboard ticks a year across the three upstreams (their last 12 months of releases) plus two one-click bypasses on the dashboard itself - The release lookup and the SHA in the branch name stay: a re-pointed tag becomes a new pull request, and the review compares the commit to the upstream tag before merge, ahead of the release job that holds publish authority - `matchDepTypes` keeps the release lookup off runner labels, which `overrideDatasource` would otherwise break (`ubuntu-24.04` had no github-releases result) - Posture bullet restated: actions-only claims, sub-bullets for the two settings, the security-alert exception named, the config comment reduced to a pointer
- The Renovate posture moves out of the pinned-actions list into `## Dependency bumps`, prose first, the two action settings as a list; the pinned-actions bullet points there - Values and inventories stay where they are set: the cooldown length in `renovate.jsonc` (as `.npmrc` already owns its own), the pins in the workflows and manifest; the prose links instead of repeating them - Generic Renovate mechanics (release age, the Releases datasource, app enablement) link to Renovate's docs; the page keeps this repository's reasons - The config comment is a pointer plus the one setting-level why (runner labels have no Releases)
- Each point once: the branch-name item names its mechanism in the lead and no longer re-explains it - Shorter clauses for the same claims; the closer drops a pointer to the section one heading away
- Names the actors and objects the earlier text left implicit: who reviews (a maintainer), what they check on an action bump (release exists and is aged; PR SHA equals the upstream tag's commit; commit on the upstream's default or release branch), and what has already executed before that review (the PR's own jobs, under `contents: read` and a SARIF upload, never publish authority) - Names the two config keys so a reader with `renovate.jsonc` open can map each setting to its reason, and states the rule's depType scope on the page the config points to - Says that a moved tag produces a new pull request and an auto-closed old one, so that pair reads as the expected signal, not an anomaly - Adds what a maintainer asking "why hasn't this pin moved?" needs: the schedule, the dashboard, the enable step, and how Renovate's cooldown relates to `.npmrc`'s
… own page - `_docs/dependency-bumps.md` holds the runnable review: the `gh` calls for release age, tag-to-commit, and ancestry, and what each answer means; the posture page keeps the reasons and points there. README lists the new page - The section now runs inventory → config → what the review confirms → where to look when a pin hasn't moved → the two settings → scope → pre-review execution, so each of a maintainer's three errands reads top-down - Three claims trued to the mechanism: the review notices a moved tag rather than stops every retargeting (an upstream that moves a tag onto its own default branch passes every check); a deleted release can linger in Renovate's cache for 30 days, so "never proposed" holds for tags that never had one; Renovate autocloses the superseded pull request only if nobody pushed to it - The publish job's ordering is the release runbook's, not the trigger's; the closer says the PR jobs hold no publish authority and stops there
# Conflicts: # README.md
- The review page opens by saying what it is, then links the posture section for the why; its diff-scope line links the pin inventory instead of restating it (the restatement had already dropped `.nvmrc`) - The posture section states what an action review establishes in one clause and links the page for the checks, which had already drifted (the immutable-release short-circuit was on one side only) - The page's tag-mismatch step links the `branchTopic` rationale for what Renovate does next, instead of predicting it without the qualification the rationale carries - The residual-risk sentence moves from the page into the `branchTopic` rationale; the config comment drops the runner-label reason the section owns
- `docs/README.md` and `_docs/README.md` list their pages in reading order, each with a one-line route - The root README names the two folders and the security policy, and no longer enumerates pages, so adding one touches its folder's index only
- `compare/main...SHA`, not `SHA...main`: GitHub reports the head against the base, so the written form returned `ahead` for every good pin and `behind` for an unmerged commit on top of `main`, the shape of a moved tag; three reviewers found it, one reproduced the false clean live - The any-bump steps no longer end in "merge" before the action checks; a `uses:` rewrite continues into them, and merge follows the last one - An immutable release moots only the peel check; ancestry stays (an immutable release can still name a commit off `main`) - The digest case's compare lists the changed files, so the step can be run as written - The posture section's "places to look" are the two places; the no-release effect sits under the setting that causes it; the pin inventory names the lockfile - The user index addresses the site that is adding the tool; its install gloss no longer promises options the page defers to `--help`
chalin
added a commit
to chalin/docsy
that referenced
this pull request
Sep 20, 2026
- Moves the config to `.jsonc`: `configMigration` rewrites `.json5` without its comments, while JSONC is woven comment-preserving (renovatebot/renovate#38646) - Looks actions up as GitHub Releases, on branches named for the proposed SHA, and keeps them out of the patch/minor groups (a grouped update takes the group's branch name); shape from chalin/link-cache#14 - Maintainer notes: the action rationale and the full-version comment requirement; the age-exemption bullet trued (held updates sit on the dashboard, no PR opens)
chalin
added a commit
to chalin/docsy
that referenced
this pull request
Sep 20, 2026
- Moves the config to `.jsonc`: `configMigration` rewrites `.json5` without its comments, while JSONC is woven comment-preserving (renovatebot/renovate#38646) - Looks actions up as GitHub Releases, on branches named for the proposed SHA, and keeps them out of the patch/minor groups (a grouped update takes the group's branch name); shape from chalin/link-cache#14 - Maintainer notes: the action rationale and the full-version comment requirement; the age-exemption bullet trued (held updates sit on the dashboard, no PR opens)
chalin
added a commit
to chalin/docsy
that referenced
this pull request
Sep 21, 2026
- Moves the config to `.jsonc`: `configMigration` rewrites `.json5` without its comments, while JSONC is woven comment-preserving (renovatebot/renovate#38646) - Looks actions up as GitHub Releases, on branches named for the proposed SHA, and keeps them out of the patch/minor groups (a grouped update takes the group's branch name); shape from chalin/link-cache#14 - Maintainer notes: the action rationale and the full-version comment requirement; the age-exemption bullet trued (held updates sit on the dashboard, no PR opens)
chalin
added a commit
to docsy/docsy
that referenced
this pull request
Sep 24, 2026
- **Scope**: - `renovate.json5` → `renovate.jsonc`: `configMigration` rewrites JSON5 without its comments, JSONC keeps them (renovatebot/renovate#38646); the script-version-pins test (#2823) reads the new file - actions looked up as GitHub Releases, each bump its own SHA-named PR outside the patch/minor groups; shape from chalin/link-cache#14, rationale in the [maintainer notes](https://deploy-preview-2821--docsydocs.netlify.app/project/about/maintainer-notes/#dependency-updates) - every action pin comment names its full release version (each SHA peeled to its Release tag); the supply-chain audit guards the shape - audit run-step deny-list also refuses `npm init NAME` and `npm create` (both run `npm exec create-NAME`); bare `npm init -y` stays - maintainer notes carry the rationale, the Releases requirement for new actions and the guards table; stale comments trued there, in the publish/smoke workflows and in the audit test - **Out of scope**: - docsy-example: follow-up PR, same shape - enabling the Renovate app on the `docsy` org: owner step after both configs land - `.nvmrc` toolchain pinning, the config-validator one-liner in the maintainer notes, the Dependabot security-updates admin check: tracked separately - dependency bumps of any kind (the pending link-cache 0.5.0 included) - **Verified** with renovate 44.82.5: - strict validator green - local dry run overrides every action lookup to `github-releases`, age-holds the one pending action update, and shows the groups holding only npm/nvm/pin deps - each pin's SHA peeled to its Release tag via the API (shared-workflows' is an annotated tag) - **Preview**: https://deploy-preview-2821--docsydocs.netlify.app/project/about/maintainer-notes/#dependency-updates
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.
renovate.jsonc) so the repository's pins are bumped by reviewed pull requests on a release cooldown; inert until the repository is enabled in the Mend app## Dependency bumpssection in_docs/supply-chain.md_docs/dependency-bumps.md(Dependency-bump review)docs/README.mdand_docs/README.mdas folder indexes; the root README routes to them instead of listing pagesconfig:best-practices: every line names a surface the repository has, and no preset can override the cooldownpackageRulesentry; the two settings and their reasons are in the new section (the default lookup admits tags with no release, dated by whoever pushed the tag; a tag moved after its release aged must surface as a new PR)renovate --platform=local --dry-runcovering the five lookups, a retagged pin, an old version, a runner label, and a within-cooldown npm version; the review page'sghcalls run against the three upstreams' current pins