Skip to content

ci: Add the release workflows from krlmlr/r-release-actions - #785

Merged
krlmlr merged 1 commit into
mainfrom
claude/release-workflows
Nov 28, 2026
Merged

krlmlr merged 1 commit into
mainfrom
claude/release-workflows

Conversation

@krlmlr

@krlmlr krlmlr commented Nov 28, 2026

Copy link
Copy Markdown
Member

This adds the four callers of the reusable release workflows in krlmlr/r-release-actions, mirroring r-dbi/RSQLite#893. They are copied from RSQLite's main (05222bb), pinned to @main like there, with every r-dbi/RSQLite and RSQLite mention replaced by r-dbi/DBI and DBI (repository check, gh commands, CRAN check results and r-universe URLs, the NEWS heading and the checklist marker).

  • .github/workflows/release-gate.yaml: checks a commit for CRAN readiness and reports on the checklist pull request. Dispatch only.
  • .github/workflows/cran-submission.yaml: submits the tarball that a green R-CMD-check.yaml run on the same commit built and uploaded. Dispatch only, with dry-run and resubmit inputs. Its header documents the release process.
  • .github/workflows/builders.yaml: uploads that tarball to win-builder and macbuilder. Dispatch only.
  • .github/workflows/release-status.yaml: tags, publishes the draft release, commits the development bump and merges the release pull request once Posit's package manager serves the version. It runs nightly and on dispatch, and a run without a draft release does nothing.

Every job is skipped outside r-dbi/DBI, so forks are unaffected. RSQLite's upgrade.yaml and versions-matrix.R are not taken, since they are SQLite-specific.

DBI's R-CMD-check.yaml is already identical to RSQLite's: it has the cran-submission input and uploads the raw tarball as DBI_<version>.tar.gz with archive: false, plus its JSON metadata, which is what the reusable workflows take by default (check-workflow: R-CMD-check.yaml). DESCRIPTION has a Date: field and no Remotes. Nothing else is required of the caller until a release is cut (release version, dated NEWS section, checklist pull request).

Plan after merge: dry-run both on main.

gh workflow run release-status.yaml --repo r-dbi/DBI -f dry-run=true
gh workflow run cran-submission.yaml --repo r-dbi/DBI --ref main -f dry-run=true

The first is expected to find no draft release and do nothing. The second is expected to stop in its version job on the development version, which is the check.

Review PR: #781

Session: https://claude.ai/code/session_01Hr1rd74amfjQXm8ArmPSth


Generated by Claude Code

Add the callers of the reusable release gate, CRAN submission, builder checks and release status workflows,
copied from r-dbi/RSQLite with the repository check set to r-dbi/DBI.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_01Hr1rd74amfjQXm8ArmPSth
@krlmlr
krlmlr marked this pull request as ready for review November 28, 2026 06:15

krlmlr commented Nov 28, 2026

Copy link
Copy Markdown
Member Author

Accepted limitations

The clean review found nothing above Low. The four callers are identical to RSQLite's apart from the package name. Every input they pass is declared by the reusable workflows. The permissions match what the reusable workflows' jobs ask for, and no secrets are needed. Without a draft release, the nightly release status run does nothing.


Generated by Claude Code

@krlmlr krlmlr mentioned this pull request Nov 28, 2026
3 of 7 tasks
@krlmlr
krlmlr merged commit d3987b4 into main Nov 28, 2026
9 checks passed
@krlmlr
krlmlr deleted the claude/release-workflows branch November 28, 2026 06:52
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.

2 participants