Skip to content

ci: migrate R-CMD-check to the org reusable workflow - #91

Merged
eliotmcintire merged 5 commits into
developmentfrom
ci/migrate-to-org-workflow
Sep 14, 2026
Merged

eliotmcintire merged 5 commits into
developmentfrom
ci/migrate-to-org-workflow

Conversation

@eliotmcintire

Copy link
Copy Markdown
Contributor

Replaces this repo's hand-rolled matrix with a thin caller on PredictiveEcology/actions/.github/workflows/R-CMD-check.yaml@main.

55 → 20 lines.

Why

Third-party action versions, system dependencies, caching and the check itself were maintained separately in 17 repos. This repo was on actions/checkout@v4; the org spread was v2/v4/v5/v6/v7, i.e. five different answers to a question no package repo should be asking. Node 20 deprecation warnings are the current symptom. Consolidated, bumping it once in actions updates every repo.

Customizations preserved

None needed — its matrix was a subset of the org default.

Dropped deliberately

Nothing. It gains the no-suggests leg plus oldrel-1 on Ubuntu and Windows.

Depends on PredictiveEcology/actions#27 (per-leg extra-env) where an extra-config leg carries extra-env.

🤖 Generated with Claude Code

https://claude.ai/code/session_012DVjmY3im9Xak7tXLSMGCa

Replaces this repo's hand-rolled matrix with a thin caller, so third-party
action versions, system dependencies, caching and the check itself are
maintained in one place instead of 17. Bumping actions/checkout there now
updates every repo at once.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_012DVjmY3im9Xak7tXLSMGCa
@suz-estella

Copy link
Copy Markdown
Contributor

Seeing if there's a way around the NFI download issue: #92

@suz-estella

Copy link
Copy Markdown
Contributor

@eliotmcintire #95 addressed this issue - GHAs should pass if main is merged into this branch.

@eliotmcintire

Copy link
Copy Markdown
Contributor Author

Shall I pull in those changes (cherry pick or merge?) you made into this PR branch now?

@suz-estella

Copy link
Copy Markdown
Contributor

I'd merge main into this PR branch, watch to make sure the GHA pass (no other issues), then go ahead and merge if they do.

@eliotmcintire

Copy link
Copy Markdown
Contributor Author

On it

@eliotmcintire
eliotmcintire merged commit 844e7f7 into development Sep 14, 2026
19 of 20 checks passed
@eliotmcintire
eliotmcintire deleted the ci/migrate-to-org-workflow branch September 14, 2026 18:19
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