Skip to content

sync-ci: rhub for CRAN pkgs, preserve paper/slack-check, ready-for-review routing#6

Merged
joethorley merged 1 commit into
mainfrom
f-ci-rhub-preserve
Jun 21, 2026
Merged

sync-ci: rhub for CRAN pkgs, preserve paper/slack-check, ready-for-review routing#6
joethorley merged 1 commit into
mainfrom
f-ci-rhub-preserve

Conversation

@joethorley

Copy link
Copy Markdown
Member

Prepares tools/sync-ci.sh for the CI-standardization rollout, per review of the affected workflows.

Changes

  • R-hub distributed to CRAN packages. Vendors the canonical R-hub v2 workflow as workflow-templates/rhub.yaml (+ .properties.json) and renders it into CRAN-tier packages. R-hub is dispatch-triggered (rhub::rhub_check()) and r-hub-owned, so it is distributed as a template rather than invoked as a reusable workflow_call caller. Applies to the 17 CRAN packages in the fleet.
  • Preserve bespoke workflows. paper.yaml (JOSS paper build) and slack-check-package.yaml are now kept across standardization via a new KEEP_PRESERVE list; the keep copy-back was widened from *.yml to all files so .yaml survivors are restored.
  • Ready-for-review routing. Non-owner repos now get a ready-for-review PR with review requested (was --draft + assignee), matching the routing already documented in the governance reference.

Validated

Local render simulation (bash) confirms:

  • CRAN pkg → R-CMD-check, test-coverage, pkgdown, check-no-suggests, fresh rhub.yaml + preserved paper/slack-check/fledge callers.
  • non-CRAN pkg → same minus check-no-suggests and rhub.
  • render-readme.yaml and pr-commands.yaml dropped as intended.

After merge, tools/sync-ci.sh dry run reflects the new plan; rollout will pilot ~5 packages first.

🤖 Generated with Claude Code

…ute ready-for-review

- Vendor the canonical R-hub v2 workflow as a workflow-template and render
  it (rhub.yaml) into CRAN-tier packages. R-hub is dispatch-triggered and
  r-hub-owned, so it is distributed as a template, not a reusable caller.
- Preserve bespoke paper.yaml (JOSS) and slack-check-package.yaml across
  standardization; widen the keep copy-back to include .yaml files.
- Open ready-for-review PRs with review requested (not draft) for repos
  owned by another codeowner, matching the documented routing.

Co-Authored-By: Claude Opus 4.8 (1M context) <[email protected]>
@joethorley joethorley merged commit 2ee7403 into main Jun 21, 2026
1 check failed
@joethorley joethorley deleted the f-ci-rhub-preserve branch June 21, 2026 00:46
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.

1 participant