Dependency Automation
BoardReadyOps uses Renovate as the single source of truth for routine version-update pull requests.
Execution and canonical owner
- Mend-hosted Renovate GitHub App is the only dependency updater for BoardReadyOps, matching the owner's other repositories. Its Dependency Dashboard #978 is canonical. The former self-hosted dashboard #196 is historical and must remain open until a real new Mend-hosted non-major Renovate pull request completes the guarded generated-artifact write-back and its updated HEAD passes the required CI/Mergify checks, with no older self-hosted writer runs remaining active.
.github/workflows/renovate.ymlnow only validatesrenovate.jsonwhen relevant configuration changes; it has no schedule, manual update dispatch, privileged runner or GH_AUTH_TOKEN access. The pinned local validator image remains a reproducible, read-only config check.- Mend's hosted Community plan cannot execute arbitrary repository
postUpgradeTasks.renovate.jsontherefore does not request unsupported command execution. A two-job repository-ownedrenovate-generatedworkflow regenerates committedNOTICEanddiston Mend PRs without giving write credentials to the dependency build. - The first workflow runs on PRs authored by
renovate[bot]from a same-reporenovate/branch, using a read-onlyGITHUB_TOKEN, checkout without persisted credentials, a frozen install with scripts ignored, and the existing tested generation entry point. It publishes a one-day artifact containing onlyNOTICE, both CLI/Action bundles and a SHA-256 manifest bound to the PR head. - The second job checks out the trusted base-branch generation verifier and runs no PR-controlled code: it checks a live open PR's bot identity, repository,
mainbase, exact head SHA, and artifact hashes before copying only three allowlisted output files. A separate last step uses the preexistingGH_AUTH_TOKENto push back to the original Renovate branch with an optimistic SHA lease. Using this existing credential for a branch update triggers the standard PR checks; no token enters the generation job. If the token is missing, access changes, or the branch advances, the step fails closed. Restrict its account permissions to BoardReadyOps branch/PR writes and rotate if compromised. - Branch policy and Mergify still require required checks, resolved reviews, and an intentional maintainer enqueue. Failed generation or provenance validation must not be masked by CI skip/continue-on-error or by weakening
verify:dist/NOTICE correctness checks. - Acceptance: review that the Mend App retains access to BoardReadyOps, no self-hosted writer runs remain scheduled, and the old dashboard no longer updates. Prove at least one non-major hosted Renovate PR is updated by
renovate-generated-apply, passes the regenerated artifact / notice checks on its new head SHA, and can be queued under existing protection. Do not auto-approve major updates or launch bulk dashboard PRs to manufacture a test.
Policy layers
renovate.json is self-contained. It directly carries the conservative baseline that BoardReadyOps previously inherited from github>oaslananka/.github:renovate-config: the Europe/Istanbul timezone, seven-day routine release quarantine, strict internal age filtering, two new PRs per hour, five concurrent PRs, digest pinning, targeted dependency updates, semantic commits, Dependency Dashboard, and explicit approval for major upgrades.
Lockfile maintenance is paused; routine Renovate is not. The October 10 hosted
lockfile-maintenance PR #1039 refreshed 243 package/version identities while removing
217, introduced is-unsafe@2.0.2 in the standalone Action bundle, and failed two
native CodeQL High alerts. Its security / gate correctly rejected the update.
Renovate's full lockfile refresh also cannot enforce minimumReleaseAge for each
transitive version; disabling only lockFileMaintenance prevents recurring bulk PRs
that bypass the repository's seven-day release quarantine. Targeted patch/minor
updates, the Dependency Dashboard, advisory/vulnerability PRs, and all CI gates
remain enabled. Transitive-only refreshes now require a separately reviewed,
bounded dependency update with the existing locked reproducibility, provenance,
NOTICE, CodeQL and multi-OS acceptance checks; this is a deliberate coverage
tradeoff, not proof that all transitive packages are current. Re-enable scheduled
maintenance only after the Action bundle's upstream alert sources can pass native
CodeQL without suppressions or runtime regressions.
This repository-local baseline replaced an unavailable shared preset after the October 2, 2026 validation failure. It remains authoritative for Mend-hosted package policy without requiring cross-repository token access. The schedule, package managers, protected groups, vulnerability-PR policy and merge routing remain local. Generated files are refreshed by the isolated, repository-owned GitHub Actions flow described above. Generated output, dependency trees, and test fixtures remain excluded from discovery.
Automatic path
Low-risk development dependency and @types/* non-major updates remain the routine path. Same-version GitHub Action digest refreshes are also routine when they do not touch security, release, provenance, publication, container-release, or binary-release workflows.
Routine classification never bypasses GitHub Rulesets. Required checks must pass and review conversations must be resolved before an explicit maintainer squash merge. The automerge label on low-risk dependency groups is classification metadata only; BoardReadyOps does not enable Renovate's own automerge: true path and Mergify does not queue or merge these pull requests.
Exception path
Major updates, TypeScript, core runtime/GitHub integration dependencies, self-hosted Renovate runtime/validator upgrades, vulnerability-remediation PRs, non-digest GitHub Action updates, Actions changes in protected workflows, and Dockerfile/Docker Compose updates carry manual-review and remain on hold until a maintainer clears the exception.
GitHub Actions and container references remain digest-pinned. Security vulnerability remediation bypasses the routine schedule and release-age wait, requests the lowest known-safe version, and remains manual-review only.
Pull-request creation
Routine minimum-age waiting is enforced by Renovate's strict internal checks before branch creation. BoardReadyOps CI and generated-file build begin on pull_request, not on bare Renovate branches; prCreation: not-pending could deadlock before those checks exist, so it remains disabled.
Files
renovate.jsoncontrols project-specific Renovate behavior..github/workflows/renovate.ymlvalidates the policy only; Mend hosts the sole dependency updater..github/workflows/renovate-generated.ymlgenerates allowlisted artifacts without write permissions.scripts/renovate-generated-artifacts.mjsis the fail-closed artifact and PR authorization contract..mergify.ymlprovides pull-request classification plus a manual-onlymainmerge queue; the GitHubmainruleset remains the merge authority.tests/unit/scripts/security-automation-config.test.tsprevents accidental weakening of the automation contract.- Version-update PR configuration must not be duplicated in another dependency updater.
Last verification
- On October 4, 2026, Mergify was configured as a manual-only queue: there is no auto-merge/auto-queue condition, and a maintainer must explicitly enqueue a PR with
@mergifyio queue main. GitHub Rulesets remain authoritative for merge eligibility and required checks. - On July 20, 2026, Renovate
43.272.4completed a full dry-run under Node.js24.18.0. - The repository reported
activated,enabled, andonboarded, and Renovate discovered 269 dependencies across npm, GitHub Actions, Dockerfiles, and Docker Compose. - After the workflow reached
main, manual workflow run29767533207completed bothrenovate / validateandrenovate / runsuccessfully. - The authenticated run created Dependency Dashboard issue
#196and populated pending-approval, awaiting-schedule, status-check, abandoned-dependency, and detected-dependency sections. - No update branches or pull requests were created outside the configured schedule or approval policy.
- On September 17, 2026, the shared
oaslananka/.githubpreset was verified at commitc44946c82eeb6c5041dbc94f371c55015679cbe0(renovate-config.jsonblob6ad5d7c7232908a686a4b9e0404fb30f4d30c2da). - On October 2, 2026, scheduled run
36992286708failed before repository processing because that shared preset could no longer be resolved. BoardReadyOps therefore activated the documented repository-local recovery path instead of wideningGH_AUTH_TOKENaccess to another repository. - BoardReadyOps implementation PR
#819merged through Mergify'sdefaultqueue after themainRuleset conditions, includingci / risk-profileandsecurity / gate, were satisfied. - Post-merge manual Renovate workflow run
35251461740ran against merge commit6e5a7b020a335a19b57ec251969d4dd8f84efa20; bothrenovate / validateandrenovate / runcompleted successfully. - Dependency Dashboard
#196updated at2026-09-17T17:16:35Z. No Renovate or Dependabot PR remained open after the run; routine developer-tooling, type-definition, and lockfile updates were awaiting their schedule while major updates remained pending approval. - No representative low-risk dependency PR auto-entered Mergify during this verification because the run created no PR outside the configured schedule. The next naturally eligible low-risk Renovate PR remains the live queue/merge acceptance sample.
Operations
- Confirm the repository-local conservative baseline remains present in
renovate.json; do not reintroduce an external preset dependency without a separately verified availability and credential contract. - Run
corepack pnpm run renovate:validateafter policy changes. - Confirm
security-automation-config.test.tsandmergify-integration.test.tspass. - Confirm
manual-reviewis present on protected updates and absent from an eligible low-risk update. - Confirm the PR receives the repository's required Ruleset checks and that review conversations are resolved.
- After the PR is intentionally approved for merge, enqueue it with
@mergifyio queue main(or the Mergify queue control). Do not enable Mergify auto-merge/auto-queue; an open green PR should remain open until a maintainer explicitly queues it. - Confirm Mend-hosted Renovate updates canonical dashboard #978; the repository workflow is validation-only and must never run a second Renovate writer.
- Rotate
GH_AUTH_TOKENimmediately if its owner or permissions change unexpectedly and verify restricted regenerated-file branch updates still work.