ci: fix the changesets/action v2 inputs, give Dependabot a five-day cooldown - #38
Merged
Merged
Conversation
The 1.9.0 -> 2.1.1 bump in #34 renamed every input this workflow passed, so the first release run on the new pin stopped before doing anything: Error: The following inputs have been renamed: - "publish" -> "publish-script" - "version" -> "version-script" - "commit" -> "commit-message" - "title" -> "pr-title" All four are renamed, and the `GITHUB_TOKEN` environment variable goes with them: v2 reads the token from the `github-token` input, which already defaults to the job's `github.token`, and throws when the environment variable is set to anything that does not match it. The NPM_TOKEN comment that lived on that `env:` block moves up to the step, since its point - that nothing in this job may define NPM_TOKEN or trusted publishing falls back to an .npmrc - is about the job, not about the one variable that was there. v2 wants @changesets/cli v3, which #35 brought in an hour earlier; `changeset status --since` and both release scripts read the same on it. Co-Authored-By: Claude Opus 5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01CLgLPm9AnPQiFjG7ZN5ckZ
hwkr
approved these changes
Sep 9, 2026
Both ecosystems now wait five days between a release and the pull request that takes it, which is the window a bad release usually gets yanked or fixed upstream in. `github-actions` supports only the flat `default-days`; `bun` also has the per-bump variants, unused here since the ask was one number for everything. Cooldown holds a version back rather than delaying the run, so on this repo's monthly schedule a release in the five days before a run waits for the next one. Co-Authored-By: Claude Opus 5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01CLgLPm9AnPQiFjG7ZN5ckZ
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.
What & why
Two CI changes.
The release workflow was broken. The
changesets/action1.9.0 → 2.1.1 bump in #34 renamed every inputrelease.ymlpasses, and v2 hard-errors on the old names, so the first Release run on the new pin (run 34405857958) stopped before doing anything:All four are renamed here. The
GITHUB_TOKENenvironment variable goes with them: v2 reads the token from thegithub-tokeninput, which already defaults to the job'sgithub.token, and throws when the environment variable is set to anything that does not match it — a second failure waiting behind the first. The NPM_TOKEN comment that lived on thatenv:block moves up to the step, since its point (nothing in this job may define NPM_TOKEN, or trusted publishing falls back to an .npmrc) is about the job, not about the one variable that happened to be there.v2 wants
@changesets/cliv3, which #35 brought in an hour before the bump.Dependabot now waits five days. Both ecosystems get
cooldown: { default-days: 5 }— the window a bad release usually gets yanked or fixed upstream in.github-actionssupports only the flatdefault-days;bunalso has the per-bumpsemver-*-daysvariants, unused here. Worth knowing: cooldown holds a version back rather than delaying the run, so on this repo's monthly schedule a release in the five days before a run waits for the next one.Which packages
Repo tooling —
.github/workflows/release.ymland.github/dependabot.yml. No published package is touched.Exactness
Not applicable: no package's output changes, and no formatter code is touched.
How it was validated
bun run check,bun run types:check,bun run test— green in CI on this headaction.ymlaccepts exactly the four input names now passed and nothing else, checked field by field against the schemabun changeset status --since=origin/mainruns clean on@changesets/cli3.0.1 locally, so the v3 bump does not break the status check either.github/dependabot.ymlcheck passes on this head, which is what confirmscooldownis accepted on both ecosystemsThe one thing CI here cannot prove:
release.ymlonly triggers on pushes tomain, so no check on this PR runs the Release job. The real verification is the Release run that fires on the merge commit.Changeset