Skip to content

ci: adopt the shared Dependabot auto-merge gate - #11

Merged
nicodes merged 1 commit into
mainfrom
ci/dependabot-contract
Sep 20, 2026
Merged

nicodes merged 1 commit into
mainfrom
ci/dependabot-contract

Conversation

@nicodes

@nicodes nicodes commented Sep 20, 2026

Copy link
Copy Markdown
Member

What changed

The Dependabot auto-merge gate becomes the shared, org-wide contract from nicodes/cicd:

  • .github/workflows/dependabot.yml is replaced by a thin caller pinned at nicodes/cicd/.github/workflows/dependabot.yml@fade862978fc1a2ba625d9486443aa0e6723f8bf (full commit SHA). The gate body — fetch-metadata, trusted-base checkout, policy evaluation, exact-head merge — lives in the shared workflow, so every repo runs the same logic and a fix lands everywhere at once. This repo has no cd.yml (the site deploys via Vercel), so the caller passes dispatch-target: ci.yml: merged-main coverage is preserved by dispatching CI after the merge, since GITHUB_TOKEN merges suppress push events.
  • The policy scripts the gate runs are vendored into scripts/engineering/helpers/ (dependency-policy.py, merge-checked.py) with SOURCE.json recording their origin (nicodes/cicd at fade8629) and sha256 checksums, verified byte-identical to source. The gate executes them from the pull request's protected base SHA — never from the PR head.
  • .github/dependabot.yml drops its groups block: the contract is per-dependency pull requests. dependency-policy.py always rejects grouped updates (several dependencies cannot be judged as one routine change), so grouping would only leave otherwise-eligible updates waiting for review.

This supersedes the previous in-repo variant (a plain gh pr merge --auto --squash gated only on Dependabot's own update-type output), which never verified that the required checks actually ran and passed on the exact PR head.


View with [code]smith Autofix with [code]smith
Need help on this PR? Tag @codesmith-bot with what you need. Autofix is disabled.

@vercel

vercel Bot commented Sep 20, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated
aviorstudio-web Ready Ready Preview Sep 20, 2026 12:34am UTC

@nicodes
nicodes merged commit c1ac5ea into main Sep 20, 2026
5 checks passed
@nicodes
nicodes deleted the ci/dependabot-contract branch September 20, 2026 00:35
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