Skip to content

Let Dependabot keep the workflow actions up to date - #62

Merged
nertzy merged 2 commits into
masterfrom
ci-housekeeping
Jul 28, 2026
Merged

Let Dependabot keep the workflow actions up to date#62
nertzy merged 2 commits into
masterfrom
ci-housekeeping

Conversation

@nertzy

@nertzy nertzy commented Jul 28, 2026

Copy link
Copy Markdown
Collaborator

Housekeeping surfaced while closing out #61.

Dependabot was watching the wrong thing

.github/dependabot.yml has existed since January 2022, listing only bundler — which has nothing to do here. Gemfile.lock is not checked in, and the only two version constraints in the repository are deliberate: a floor of Active Record 7.0 in the gemspec, and a ceiling of sqlite3 1.x for the matrix leg that tests against it. Any pull request Dependabot could open against either would be one to close.

The ecosystem that did have something to say was never listed. actions/checkout was four majors behind, and the only reason it came up is that it emits a Node-runtime deprecation warning on every job, which I noticed by hand rather than being told. So github-actions is listed now — grouped into a single pull request rather than one per action, and weekly on the day the scheduled build already runs rather than daily.

actions/checkout goes to v7 here, since that is the bump nobody was told about. Its steps: are also indented under the sequence key, matching the rest of the file and the new config; the YAML parses identically either way.

Copyright years

2022 → 2026 in LICENSE and the README.

Not addressed

Dependabot reports a low-severity use-after-free in sqlite3 <= 2.9.4, patched in 2.9.5. The unpinned legs already resolve to 2.9.5, so they are clear. The ACTIVE_RECORD_VERSION="~> 7.0.0" and ACTIVE_RECORD_BRANCH="7-0-stable" legs cannot be: Active Record 7.0's sqlite3 adapter requires sqlite3 ~> 1.4, so < 2 is load-bearing rather than stale. I confirmed that by removing the pin — Bundler resolves it happily, then every example errors with can't activate sqlite3 (~> 1.4), already activated sqlite3-2.9.5.

That leaves the alert open for as long as Active Record 7.0 is supported. It is a test-only dependency of a testing gem, and not a dependency of with_model itself, so nothing installing this gem is exposed. Worth a decision on whether to keep 7.0 in the matrix, but not one to make in this pull request.

Each commit passes bin/rake on its own.

nertzy added 2 commits July 28, 2026 16:52
Dependabot has been configured here since 2022, but only for bundler, which has
nothing to do: Gemfile.lock is not checked in, and the two version constraints
that exist are deliberate - a floor of Active Record 7.0, and a ceiling of
sqlite3 1.x for the matrix leg that tests against it. Meanwhile the ecosystem
that did have something to say was never listed, and actions/checkout drifted
four major versions behind until it was noticed by hand.

So github-actions is now listed too, grouped into one pull request rather than
one per action, and both ecosystems run weekly on the day the scheduled build
already runs rather than daily.

actions/checkout goes to v7 in the same breath, since that is the bump nobody
was told about. Its steps are also indented under the sequence key, which is
what the rest of the file and the new config do.
@nertzy
nertzy merged commit a1118dd into master Jul 28, 2026
17 checks passed
@nertzy
nertzy deleted the ci-housekeeping branch July 28, 2026 21:57
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