mirror of
https://github.com/devvmhq/devvm.git
synced 2026-12-01 06:23:17 -10:00
scripts/bump.sh now covers every pinned version, so release prep is one command, grouped as --check prints them: - shared-tools: cursor (only when named), Cursor's CLI pinned in assets/shared-tools/mise.toml, checksums computed from the downloads - e2e: e2e-curl, tests/e2e/transparent_test.go's curlImage by digest - go: go (newest patch: go.mod, docs/go.mod, mise.toml, mise lock), go-minor (only when named), go-mods (direct modules, go get and go mod tidy; a next major's path only reported), deadcode (mise.toml's task) - dev-tools: mise.toml's tools but go, through mise lock - ci: ci-mise (jdx/mise-action's version follows base's mise), actions (uses: by tag commit from gh api, then actionlint and zizmor) - docs: hextra (go get and hugo mod tidy in docs/), mermaid (only when named) --check prints each pin's group and whether a bump is a patch, minor or major. With no tools named, bump.sh applies patches and minors only: never a major, a held pin or a named-only tool; naming an images or e2e tool still applies its major, and e2e-tools always does. Holds come from .github/dependabot.yml's ignore list (pflag < 1.1.0) and bump.sh's own (node on its major). The header lists every pin as "# pin KEY TOOL", or "-" and a reason, and says why the pins outside the scanned files are left (install.sh's Lima, the Homebrew formula, testdata, vendored files). TestBumpCoversPins in internal/structure scans assets/, mise.toml, both go.mod files, the workflows, tests/e2e-mise.lock, tests/e2e's consts and docs/hugo.yaml offline, and fails on an uncovered pin or a stale line. The Pins workflow gets mise and a token for the new checks, and its issue lists outdated pins under their groups. testdata/script/bump.txtar covers the new groups with stubbed upstreams, and caught newest_of failing on an empty list. Co-Authored-By: Claude Opus 5.5 <[email protected]>
37 lines
1.2 KiB
YAML
37 lines
1.2 KiB
YAML
# Monthly updates, each ecosystem in one grouped pull request, for devvm's Go modules and the actions its workflows pin by SHA. Their titles follow
|
|
# Conventional Commits, as the PR title check asks. scripts/bump.sh moves these too, and every pin
|
|
# Dependabot doesn't know, and holds each module or action as an ignore entry below does: keep each
|
|
# one's dependency-name line followed by a versions: [">= X"] line, the form it reads.
|
|
version: 2
|
|
updates:
|
|
- package-ecosystem: gomod
|
|
directories: ["/", "/docs"]
|
|
schedule:
|
|
interval: monthly
|
|
# A release has a week to be found bad before an update proposes it.
|
|
cooldown:
|
|
default-days: 7
|
|
commit-message:
|
|
prefix: build
|
|
include: scope
|
|
# pflag 1.1 prints every boolean flag as --flag[=true|false] in the help, with no way to turn it
|
|
# off, so devvm stays on 1.0.x.
|
|
ignore:
|
|
- dependency-name: github.com/spf13/pflag
|
|
versions: [">= 1.1.0"]
|
|
groups:
|
|
go:
|
|
patterns: ["*"]
|
|
- package-ecosystem: github-actions
|
|
directory: /
|
|
schedule:
|
|
interval: monthly
|
|
cooldown:
|
|
default-days: 7
|
|
commit-message:
|
|
prefix: ci
|
|
include: scope
|
|
groups:
|
|
actions:
|
|
patterns: ["*"]
|