Skip to content

fix(actions): source CLDMV_SKIP_FROZEN_LOCKFILE from an input, not vars, in composite actions - #276

Merged
Shinrai merged 1 commit into
nextfrom
fix/composite-actions-vars-context
Sep 6, 2026
Merged

Shinrai merged 1 commit into
nextfrom
fix/composite-actions-vars-context

Conversation

@cldmv-bot

@cldmv-bot cldmv-bot Bot commented Sep 6, 2026

Copy link
Copy Markdown
Contributor

🚀 What's Changed

💥 Breaking Changes

No breaking changes

✨ Features

No new features

🐛 Bug Fixes

  • fix(actions): source CLDMV_SKIP_FROZEN_LOCKFILE from an input, not vars, in composite actions (450c1cd)

📦 Dependencies

No dependency updates

🔧 Other Changes

No other changes

👥 Contributors

…rs, in composite actions

The `vars` context is not available inside composite actions (only workflow
files expose it), so four composites that set
`CLDMV_SKIP_FROZEN_LOCKFILE: ${{ vars.CLDMV_SKIP_FROZEN_LOCKFILE }}` on their
install-dependencies step failed template validation with
"Unrecognized named-value: 'vars'". That killed the Build & Test job at load
time — and with it every v4 consumer's CI — the moment the `@v4` tag moved to
include the frozen-lockfile mechanism.

Thread the value through a new `skip-frozen-lockfile` input on each composite
(build-and-test, create-release, create-release-pr, update-release-pr) and set
the step env from `inputs.skip-frozen-lockfile`; the calling workflows, which
do have the `vars` context, pass `vars.CLDMV_SKIP_FROZEN_LOCKFILE` into it.
install-dependencies still reads the value from `process.env`, unchanged, so
frozen-by-default behavior is preserved.

The source-only satellite create-release call installs no dependencies, so it
is intentionally left without the input.

Fixes #275
@cldmv-bot cldmv-bot Bot added ! fix → next v4 flow: fix contributor PR targeting the next integration branch area: core Touches core library / runtime source code type: ci Changes to CI workflows, actions, or build pipelines labels Sep 6, 2026
@Shinrai

Shinrai commented Sep 6, 2026

Copy link
Copy Markdown
Contributor

Resolves #275 — closed when this ships to the default branch.

@Shinrai
Shinrai merged commit 6d88136 into next Sep 6, 2026
16 checks passed
@cldmv-bot
cldmv-bot Bot deleted the fix/composite-actions-vars-context branch September 6, 2026 03:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area: core Touches core library / runtime source code ! fix → next v4 flow: fix contributor PR targeting the next integration branch type: ci Changes to CI workflows, actions, or build pipelines

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant