ci: add a manually triggered release-preparation PR workflow

Aperta
#301 0 commenti 0 reazioni 1 assegnatario Vedi su GitHub

I maintainer di solito rispondono entro 1 giorno

@ffumero2003 ci sta già lavorando.

Dal 8/11/2026.

Valutazione

Questa issue non è ancora stata valutata.

Descrizione

ci

Context

Releasing is manual (RELEASE.md steps 3 and 5): run changie batch/merge, commit as Version X.Y.Z, open the PR. changie already computes the bump, changelog and version-string rewrites; only the orchestration is manual.

Acceptance criteria

  • R1. A dry run on a branch opens a PR with the changelog and bumped versions (base/base.go DefaultUserAgent, bin/b2keys/go.mod).
  • R2. It never tags or publishes.
  • R3. Confirm the opened PR triggers CI (a PR opened with GITHUB_TOKEN does not start checks by default).

In scope

Add a workflow_dispatch workflow that checks out main, runs changie batch auto and changie merge, commits as Version X.Y.Z on a branch, and opens the release PR with the changelog section in the body. Optionally accept a version override. It must not run release-check, merge, tag, create the GitHub release, or index the proxy — those stay manual.

Out of scope

  • Running release-check, merging, tagging, creating the GitHub release, or indexing the proxy; those remain manual.

Verification

git diff --check
  • Validate the changed workflow YAML with actionlint .github/workflows/*.yml if available; record an unavailable validator with its reason.
  • Use the controlled branch dry run specified in the acceptance criteria and inspect the generated PR, changelog, and version changes.
  • Confirm that PR triggers CI; record how the workflow authenticates. Verify it does not tag, publish, merge, or run the manual release steps.
  • Expected result: the checks above succeed and the observable outcomes in Acceptance criteria are demonstrated. If a check cannot run, report Could not run because: ...; if it starts but fails, report Could not complete because: .... A skipped check is not a pass.

Links

Lingua principale
Go
Stelle
66
Fork
18
Merge medio
1g 10h
PR unite (30g)
132

Preparare l'ambiente

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di Backblaze/blazer

Tutte le issue di Backblaze/blazer

Issue simili

Altre issue su Go

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.