Skip to content

feat: pass a package-name input through to release-please-forecast - #1

Merged
non7top merged 1 commit into
mainfrom
feat/release-please-preview-package-name
Sep 26, 2026
Merged

non7top merged 1 commit into
mainfrom
feat/release-please-preview-package-name

Conversation

@non7top

@non7top non7top commented Sep 26, 2026

Copy link
Copy Markdown
Owner

release-please-forecast added a package-name input in
non7top/release-please-forecast#21, letting a caller name which
.release-please-manifest.json key holds the version to classify the
predicted bump against — needed for a manifest keyed by package path
(release-please's cargo-workspace/linked-versions plugins) instead of
..

This reusable workflow called that action with no way for a caller to set
it. Threaded a package-name input through to the action call, defaulting
to empty (unchanged behavior for every existing caller).

Needed by non7top/sort4print#38, which switched to a per-package manifest
and currently has no way to silence release-please-forecast's preflight
warning about guessing the version from the manifest's first key.

release-please-forecast (non7top/release-please-forecast#21) added a
package-name input so it can classify the predicted bump against a
manifest keyed by package path instead of ".", which a cargo-workspace +
linked-versions setup produces. This reusable workflow hardcoded no such
input, so a caller had no way to set it. Thread it through.
non7top added a commit to non7top/sort4print that referenced this pull request Sep 26, 2026
Our manifest has no "." key since #37/this PR moved to the
cargo-workspace + linked-versions plugins, so release-please-forecast was
falling back to guessing the manifest's first key and preflight-warning
about it on every preview (non7top/release-please-forecast#20, see
#38 (comment)).
The guess happens to be right here, since linked-versions with merge: true
keeps core/app/tools/pack-* at one version, but naming it explicitly turns
that guess into a stated fact instead.

Needs non7top/gh-workflows#1 merged to take effect — release-please-preview.yml@main
doesn't accept a package-name input yet.
@non7top
non7top merged commit e37517e into main Sep 26, 2026
@non7top
non7top deleted the feat/release-please-preview-package-name branch September 26, 2026 13:15
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