Repository navigation
ci: Add the CRAN release workflows from krlmlr/r-release-actions - #626
Conversation
Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_01Hr1rd6UQT1YMBMS1pVwH4X
Question: Should the reusable workflows be pinned instead of tracking
|
Question: How should the submission be protected from picking an uncompressed tarball?The The release branch gets no push runs, so the default path is mostly safe as long as nobody dispatches a plain check on the release head after the
The clean review rated this Medium, with medium confidence. If nobody decides, it stays a documented ordering rule. Generated by Claude Code |
Accepted limitationsThese are the Low findings from the clean review, accepted as they stand. Untick one to have it fixed.
The two Medium findings are questions above: pinning and the tarball selection. Generated by Claude Code |
This adds four workflows that call the reusable workflows of krlmlr/r-release-actions to carry a CRAN release:
release-gate.yamlchecks that a commit is ready for a CRAN release (hard failures for what CRAN requires, a report for what it expects) and keeps one comment on the checklist pull request.builders.yamluploads the tarball checked byR-CMD-check.yamlto win-builder (R-devel by default) and macbuilder, and reports on the checklist pull request.cran-submission.yamlsubmits the tarball that a greenR-CMD-check.yamlrun on the same commit built and uploaded, writing a draft release and no tag; its header documents the release process.release-status.yamlfinishes a release once Posit's package manager serves the version: it tags, publishes the draft release, commits the development bump and merges the release pull request.All four run only on dispatch, and
release-status.yamlalso nightly, where it does nothing without a draft release. Each job is guarded tor-dbi/RPostgres, so it is skipped in forks, and each grants only the permissions the reusable workflow needs.The files mirror r-dbi/RSQLite's copies, with the package name, repository guard,
ghcommands, CRAN check-page and r-universe URLs andNEWS.mdheading examples changed to RPostgres.R-CMD-check.yamlis identical to RSQLite's and already has thecran-submissiondispatch input and the source-tarball job the gate, builders and submission rely on, so no existing workflow changes.Session: https://claude.ai/code/session_01Hr1rd6UQT1YMBMS1pVwH4X
Generated by Claude Code