Repository navigation
ci: Add release workflows from krlmlr/r-release-actions - #579
Merged
Merged
Conversation
Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_01Hr1rd5deoKNru8psvRoyYR
Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_01Hr1rd5deoKNru8psvRoyYR
Member
Author
Accepted limitationsThe clean review found one Medium: the workflows were pinned by SHA while the actions they call stay at
Generated by Claude Code |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This adds four thin caller workflows for the reusable workflows in krlmlr/r-release-actions. They run only when dispatched by hand, except release-status, which also runs nightly. They do nothing in a fork. Each one reports to the release's checklist pull request.
release-gate.yamlchecks that a commit is ready for CRAN. It fails on what CRAN requires: a release version, noRemotes, and a NEWS.md section dated like DESCRIPTION. It reports on what CRAN expects without failing on it.builders.yamluploads the checked tarball to win-builder (R-devel by default) and macbuilder. These results inform the release and do not gate it.cran-submission.yamluploads the tarball that a green, dispatched run ofR-CMD-check.yamlwithcran-submission=truebuilt and checked on the same commit, and writes a draft release without a tag. It has a dry-run input and a resubmit input. Its header describes the release process step by step.release-status.yamlfinishes a release once Posit's package manager serves the version: it tagsvX.Y.Z, publishes the draft release, commits the development bump and merges the release pull request. A run without a draft release does nothing.The files are copied from RSQLite's (r-dbi/RSQLite#908). Only the repository name, the CRAN check results URL, the r-universe URL and the package name in the NEWS heading and checklist marker were changed; otherwise the four files are identical to RSQLite's on its main. Like RSQLite's, they call r-release-actions at
@main. The reusable workflows call that repository's own actions at@main, so pinning only the workflow to a commit would freeze half of it and could break when the actions move;@mainkeeps both together, and there is no Dependabot here to bump a pinned SHA.R-CMD-check.yamlalready has thecran-submissiondispatch input and the raw tarball artifact these workflows need, and it is identical to RSQLite's, so it is unchanged. actionlint passes on the four new files.Before the first release with these workflows:
Date:field to DESCRIPTION, which the gate and the submission require.tests/testthat/test-DBItest.Rruns DBItest wheneverGITHUB_ACTIONSis"true", so the gate'sR CMD checkwithout a database server will fail until that condition is reconsidered.Two clean review rounds; nothing above Low remains: Accepted limitations.
Review tracker: #577
Session: https://claude.ai/code/session_01Hr1rd5deoKNru8psvRoyYR
🤖 Generated with Claude Code