ci: Sync R-CMD-check workflow; drop matrix-env plumbing from custom action - #2422
Merged
Conversation
…ction Sync .github/workflows/R-CMD-check.yaml and .github/workflows/versions-matrix/action.R from cynkratemplate (cynkra/cynkratemplate#95). The rcc-full job now applies the generic "env" field of test matrix entries to $GITHUB_ENV itself, before the custom before-install action runs, because composite actions cannot read the matrix context. The apply-to-GITHUB_ENV boilerplate and the "env" input in the custom before-install action are therefore no longer needed; DUCKDB_R_POISON_ENGINE and DUCKDB_R_USE_SYSTEM_LIB from the engine-poisoning and vendored-build matrix entries keep reaching the tripwire and system-libduckdb steps through the workflow-level step.
krlmlr
enabled auto-merge (squash)
July 27, 2026 18:44
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.
Sync
.github/workflows/R-CMD-check.yamland.github/workflows/versions-matrix/action.Rfrom cynkratemplate(cynkra/cynkratemplate#95).
The template's
rcc-fulljob now applies the genericenvfieldof test matrix entries to
$GITHUB_ENVitself,before the custom before-install action runs,
because composite actions cannot read the
matrixcontext —until now, every consumer repo had to carry
the same apply-to-
$GITHUB_ENVboilerplate in its custom action,and a repo without it silently dropped the variables.
The apply boilerplate and the
envinputare therefore removed from the custom before-install action;
DUCKDB_R_POISON_ENGINEandDUCKDB_R_USE_SYSTEM_LIBfrom the engine-poisoning and vendored-build matrix entries
keep reaching the tripwire and system-libduckdb steps
through the workflow-level step,
which runs before the custom action.
The same branch is also pushed to
krlmlr/duckdb-r(the vendoring pipeline repo, which shares these workflow files);
that copy is
krlmlr/duckdb-r@claude/gha-env-var-setup-ej3a28.🤖 Generated with Claude Code
https://claude.ai/code/session_0136C9bRMjBGkUrtLdkYNmAg
Generated by Claude Code