Skip to content

chore(ci): stop dependabot re-drifting the generated examples-smoke.yml - #603

Merged
goosewobbler merged 1 commit into
mainfrom
chore/examples-smoke-generated-guard
Jul 21, 2026
Merged

goosewobbler merged 1 commit into
mainfrom
chore/examples-smoke-generated-guard

Conversation

@goosewobbler

@goosewobbler goosewobbler commented Jul 21, 2026 •

Copy link
Copy Markdown
Owner

Durable fix for the examples:smoke:check drift that was failing CI (raised on #598).

The drift mechanism

examples-smoke.yml is generated from templates/workflows/ by scripts/examples-smoke/generate-smoke-workflow.ts. Dependabot scans .github/workflows/ (where the generated file lives) but not templates/workflows/ (its source). So a major action bump — actions/setup-node@v6 → @v7 — landed on the generated file only, drifting it out of sync with its @v6 source → examples:smoke:check failed on every PR.

Fix

  • Ignore github-actions major bumps in dependabot.yml, mirroring the policy the npm ecosystem already uses in the same file. The actions are major-tag-pinned (@v6, @v4, …), so this fully stops the drift while still allowing the manual major bumps the repo already does by review. (Dependabot has no per-file ignore, so this is the consistent equivalent.)
  • Regenerated examples-smoke.yml to clear the current @v7 drift so smoke:check passes now.

The generator already emits a # GENERATED FILE — do not edit by hand. banner, so the human/agent signal is in place; this stops the bot from editing it.

Note

#598's branch carries an interim regen of the same file to unblock its own CI; once this lands on main, that commit reconciles cleanly (same content).

🤖 Generated with Claude Code

Greptile Summary

This PR prevents Dependabot from changing generated smoke workflows independently of their sources. The main changes are:

  • Ignore major GitHub Actions updates in Dependabot.
  • Restore six generated actions/setup-node references from v7 to v6.

Confidence Score: 5/5

This looks safe to merge.

  • No blocking issues found in the changed code.

Important Files Changed

Filename Overview
.github/dependabot.yml Adds the intended repository-wide ignore rule for major GitHub Actions updates.
.github/workflows/examples-smoke.yml Restores generated setup-node versions to match the source workflows.

Reviews (1): Last reviewed commit: "chore(ci): stop dependabot re-drifting t..." | Re-trigger Greptile

examples-smoke.yml is generated from templates/workflows/ (which dependabot does
not scan) yet lives in .github/workflows/ (which it does) — so a major action
bump (setup-node v6 -> v7) lands only on the generated file and fails
examples:smoke:check. Dependabot has no per-file ignore, so mirror the existing
npm policy and ignore github-actions major bumps; the generator already marks the
file "GENERATED FILE — do not edit by hand". Also regenerate the file to clear the
current v7 drift.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01K6CmYRXTZQYs4MNo6AETxT
@github-actions

Copy link
Copy Markdown
Contributor

Standing release PR: #595 · v0.41.2 queued (4 packages) · open 4h 56m · ✅ ready to merge

Release Preview — v0.41.1 → v0.41.2

Note: Labels on this PR are advisory in standing-pr mode. Bumps come from conventional commits in the standing PR; override by editing labels on the standing PR itself. Add release:immediate to bypass the standing PR and release this PR directly.

These changes will be added to the release PR (#595) when merged:

Changelog

monorepo 0.41.1 → 0.41.2

Changed

  • stop dependabot re-drifting the generated examples-smoke.yml (ci)

All packages → 0.41.2 (sync versioning)

  • @releasekit/version
  • @releasekit/notes
  • @releasekit/publish
  • @releasekit/release

After merge — predicted release

No version escalation — this PR's changes will be included in the queued release without affecting the projected versions.

Package Standing PR This PR After merge
monorepo 0.41.2 0.41.2 0.41.2

Updated automatically by ReleaseKit

@goosewobbler
goosewobbler merged commit 2e072b7 into main Jul 21, 2026
34 checks passed
@goosewobbler
goosewobbler deleted the chore/examples-smoke-generated-guard branch July 21, 2026 01:42
@github-actions github-actions Bot mentioned this pull request Jul 21, 2026
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