Repository navigation
Commit 189e5c1
authored
build(deps): bump systemfsoftware/pnpm-release-management/.github/workflows/release.yml from 9615867c17489fb04be8bc74f568659d687df612 to 1e897828d917341fb7dd444c7bbd6cfa0998caa9 (#61)
Bumps
[systemfsoftware/pnpm-release-management/.github/workflows/release.yml](https://github.com/systemfsoftware/pnpm-release-management)
from 9615867c17489fb04be8bc74f568659d687df612 to
1e897828d917341fb7dd444c7bbd6cfa0998caa9.
<details>
<summary>Changelog</summary>
<p><em>Sourced from <a
href="https://github.com/systemfsoftware/pnpm-release-management/blob/main/CHANGELOG.md">systemfsoftware/pnpm-release-management/.github/workflows/release.yml's
changelog</a>.</em></p>
<blockquote>
<h1>Changelog</h1>
<h2>1.0.0</h2>
<ul>
<li><code>version-management bump</code> now creates
<code>changelogDir</code> before parking a moved member's changelog
there. A fresh checkout has no such directory, so under
<code>registry</code> changelog storage (the default) bump used to
refuse with <code>ChangelogUnwritable ... reason=NotFound</code> as soon
as an intent moved a member. A <code>changelogDir</code> path that holds
a regular file is still refused with
<code>ChangelogUnwritable</code>.</li>
<li><code>bump</code> now writes each moved member's changelog where
<code>versioning.changelog.storage</code> says it lives. Under
<code>repository</code> the member's own changelog gains a <code>##
<version></code> section above its earlier sections, below any
title or preamble, in the file's line endings. The file is created when
absent, a changelog that already has the version is left as it is, and
nothing is parked, so the release phase finds the notes it reads. Under
<code>registry</code> or unset, bump parks one file per moved member
under <code>changelogDir</code>, byte for byte as before. Breaking for
adapter authors: <code>MemberChangelogEntry</code> carries
<code>storage</code> and <code>path</code> instead of
<code>changelogDir</code>, and <code>BumpCommand</code> requires
<code>changelogStorage</code>. <code>memberChangelogPathOf</code>,
<code>withVersionSection</code> and <code>releaseNotesOf</code> are now
exported from <code>@systemfsoftware/release-language</code>.</li>
<li>Under the <code>turbo</code> gate strategy, change evidence now
fetches the <code>@turbo/<os>-<arch></code> package the
lockfile pins, from the lockfile's tarball URL or the public npm
registry. It checks the bytes against the recorded integrity, requires
the binary to print the pinned version, and runs it with telemetry off.
A verdict needs no installed workspace, only that registry. Breaking for
adapter authors: <code>ChangeEvidenceLive</code> requires an
<code>HttpClient</code>; provide one such as
<code>FetchHttpClient.layer</code>. Install-bound refusal details become
fetch-bound ones under the unchanged <code>turbo pin unusable:</code>
stem: no published binary, no recorded integrity, an unfetchable
tarball, mismatched bytes, no <code>bin/turbo</code>, or a version other
than the pin. A failed dry run names <code>turbo
(<package>@<pin>)</code>.</li>
<li><code>versioning.strategy</code> is now
<code>"changesets"</code> in place of
<code>"pnpm"</code>, and a config that still sets
<code>"pnpm"</code> no longer decodes. Change it to
<code>"changesets"</code>. <code>version bump</code> versions
each package from its intents, bumps dependents, writes per-package
changelogs and keeps exact inner pins.</li>
<li>When <code>pnpm</code> cannot be started, the release tools now
report <code>pnpm could not be started: ENOENT (...)</code> instead of
<code>manifest-unreadable</code> at the repository root. A manifest that
really cannot be read is still reported as
<code>ManifestUnreadable</code> at its path. Breaking for adapter
authors: <code>MemberRefusal</code> gains <code>CommandUnstartable {
command, reason }</code>, so exhaustive matches over it need a new
case.</li>
<li><code>changeset check</code> now lists a package deleted on the head
as deleted instead of failing with "cannot read". A deleted
package needs no intent. <code>ChangeEvidence</code> gains a
<code>deleted</code> list of package names.</li>
<li>The release no longer fetches versions from an npm registry or
compares packed bytes. Packages ship through the Nix registry, which is
content-addressed, so <code>release plan</code> and <code>release
tag</code> decide only from changesets and tags: a version whose tag
exists is skipped, never republished. A catalog bump that rewrites a
packed <code>package.json</code> no longer blocks a release. Removed:
<code>release adopt</code>, <code>--tarballs</code> on <code>release
plan</code> and <code>release tag</code>, the release ledger
(<code>release-ledger.json</code>) and its append-only check in
<code>changeset check</code>, and the
<code>tag-integrity-mismatch</code>, <code>integrity-*</code>,
<code>tarball-*</code>, <code>ledger-*</code>,
<code>version-burned</code>, <code>version-intent-malformed</code>,
<code>version-unknown-package</code> and <code>tag-annotation-*</code>
refusals. <code>release tag</code> still writes annotated tags, but the
message is the tag name and nothing reads it back. The packages
<code>@systemfsoftware/adoption-adapter</code> and
<code>@systemfsoftware/tarball-adapter</code> are deleted. Breaking for
engine callers: <code>planCell</code> and <code>tagCell</code> no longer
require <code>TarballPort</code> or <code>LedgerPort</code>,
<code>PlanRequest</code> and <code>TagRequest</code> have no
<code>tarballs</code>, and the exported adoption and integrity symbols,
<code>RegistryPort</code>, <code>LedgerPort</code>,
<code>TarballPort</code> and <code>GitPort.tagAnnotation</code> are
gone. <code>ChangeEvidenceLive</code> requires an
<code>HttpClient</code> instead of <code>RegistryPort</code>. Breaking
for workflow callers: drop <code>--tarballs</code> and <code>release
adopt</code> from any script. <code>release.yml</code> no longer builds
<code>.#workspace-tarballs</code>, so a caller needs no such flake
output for the release.</li>
<li>The release config accepts <code>legacyTags: { tag, through }</code>
for releases cut under another tag scheme, such as a bare
<code>v{version}</code>. A version at or below <code>through</code>
whose legacy tag points at a commit declaring that exact version counts
as released, so <code>release plan</code> and <code>release tag</code>
no longer owe a second <code><name>@v<version></code> tag
for it, and <code>release plan</code> prints <code>legacy release
<tag> (<name>@<version>)</code> for each such version.
A legacy tag whose commit declares a different version, or no such
package, is refused with <code>legacy-tag-unverified</code>. Breaking
for engine callers: the plan, tag and GitHub release cells can fail with
a new <code>LegacyTagUnverified</code> refusal, so exhaustive matches
over their failures need that case, and <code>PlanReport</code> gains a
required <code>legacy</code> list.</li>
<li><code>version-management bump</code> keeps each intent a separate
block in a member changelog, with a blank line between intents, instead
of joining their markdown with a space. A list in one intent no longer
fuses into the paragraph before it, so the changelog passes the
repository's own <code>dprint check</code>.</li>
<li><code>github-release-management pr</code> now opens the release PR
from the tree <code>version-management bump</code> left. Changes to
tracked files open or refresh it, and an unchanged tree closes it.
Before, <code>pr</code> counted intents bump had already consumed,
reported "nothing to release" and exited 0. <code>pr</code> no
longer bumps by itself, and refuses with
<code>PullRequestUnversioned</code> while an intent is still on disk.
The release commit holds only tracked changes and the changelogs bump
created, so an untracked artifact in the checkout no longer lands in the
release PR. Breaking for adapter authors: <code>GitPort</code> gains
<code>trackedChanges</code>, and <code>commitAll</code> becomes
<code>commitRelease(message, created)</code>.
<code>PullRequestRefusal</code> adds <code>PullRequestUnversioned</code>
and <code>PullRequestTreeUnreadable</code>.
<code>PullRequestCommand</code> requires <code>changes</code> and
<code>created</code>; <code>PullRequestRequest</code> requires
<code>changelogDir</code>.</li>
<li><code>github-release-management pr</code> now commits the release as
<code>github-actions[bot]</code>, so it works on a runner with no git
identity configured. Before, the commit failed there and <code>pr</code>
printed <code>cannot read body file: git:commit</code>. A failed
<code>git</code> command in <code>pr</code> now reports the command and
the error git printed, instead of a body-file or pull-request-head
error. Breaking for adapter authors: <code>PullRequestRefusal</code>
gains <code>PullRequestGitFailed { command, stderr }</code>.</li>
<li><code>pr</code> now finds only the open pull request whose head is
the release branch in the repository's own owner. It used to treat the
first open pull request in the repository as the release PR, because
GitHub ignores a head filter that is not written as
<code>owner:branch</code>, so a repository with any other open pull
request had that one renamed, its body replaced, or closed. Now a
repository with no release PR gets a new one, and every other pull
request is left as it is.</li>
<li><code>version-management bump</code> writes each root-changelog
bullet as a top-level list item, <code>- <summary></code>, instead
of indenting it by two spaces. The release pull request it opens now
passes the repository's own <code>dprint check</code>.</li>
<li><code>github-release-management tag</code> now writes each annotated
release tag as <code>github-actions[bot]</code>, so it works on a runner
with no git identity configured. Before, <code>git tag -a</code> failed
there with "Committer identity unknown" and <code>tag</code>
printed <code>cannot read captured file: git:write-tag</code>.
<code>tag</code> now pushes only the captured tags the remote doesn't
have yet. A captured tag already on the remote at the release commit is
left alone, so re-running <code>tag</code> after a partial push finishes
the set. A captured tag already on the remote at another commit refuses
the run with <code>tag-at-other-commit</code>, naming the tag and both
commits, and nothing is pushed. Breaking for adapter authors:
<code>tagCell</code> can fail with <code>TagAtOtherCommit { tag,
expected, found }</code>.</li>
<li>A failed <code>git</code> command while tagging now reports the
command and the error git printed, instead of <code>cannot read captured
file: git:push-tags</code>. Breaking for adapter authors:
<code>TagRefusal</code> gains <code>TagGitFailed { command, stderr
}</code>, so exhaustive matches over it need a new case.</li>
<li><code>changeset-management check</code> with <code>"gate":
{ "strategy": "paths" }</code> now refuses in a
repository whose root keeps a Turbo config at both the comparison base
and the head, printing a <code>paths gate refused:</code> line that
names the config and the fix: <code>"gate": {
"strategy": "turbo" }</code>. A pull request that
adds or removes the Turbo config is still decided by <code>paths</code>.
Breaking for adapter authors: <code>EvidenceRefusal</code> gains
<code>PathsGateUnderTurbo { turboConfig }</code>, so exhaustive matches
over it need a new case.</li>
<li><code>version-management bump</code> versions a
<code>changesets</code> workspace whose private root
<code>package.json</code> has no <code>version</code>. It no longer
reads the root manifest under <code>changesets</code>, so it stops
refusing with <code>VersionIntentMalformed:
path=package.json</code>.</li>
</ul>
</blockquote>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a
href="https://github.com/systemfsoftware/pnpm-release-management/commit/1e897828d917341fb7dd444c7bbd6cfa0998caa9"><code>1e89782</code></a>
ci(release): reconcile in the plan job (<a
href="https://redirect.github.com/systemfsoftware/pnpm-release-management/issues/121">#121</a>)</li>
<li><a
href="https://github.com/systemfsoftware/pnpm-release-management/commit/b9ff6af5b4a04281e2416ebbdf577d058404adf6"><code>b9ff6af</code></a>
fix(changesets-adapter): rewrite sibling ranges only where they use the
works...</li>
<li><a
href="https://github.com/systemfsoftware/pnpm-release-management/commit/cf65dc176c8430fece450b3ee439e1e1ff47b0d3"><code>cf65dc1</code></a>
fix(release): every caller grants id-token, since GitHub checks the
publish j...</li>
<li><a
href="https://github.com/systemfsoftware/pnpm-release-management/commit/e55fd25441f7e3a307ceb53b8b1020b9e7273cda"><code>e55fd25</code></a>
fix(release): reconcile the release PR from the default branch's head on
ever...</li>
<li><a
href="https://github.com/systemfsoftware/pnpm-release-management/commit/6008c7d860068d67baab8a8177e5c6b59359ec7c"><code>6008c7d</code></a>
chore: enrol every compound pack from systemfsoftware main (<a
href="https://redirect.github.com/systemfsoftware/pnpm-release-management/issues/117">#117</a>)</li>
<li><a
href="https://github.com/systemfsoftware/pnpm-release-management/commit/ac6661d170af0d2bfe86ae36def9c22346ae72a9"><code>ac6661d</code></a>
fix(npm-trust): count a package as trusted only on an exact repository
and fi...</li>
<li>See full diff in <a
href="https://github.com/systemfsoftware/pnpm-release-management/compare/9615867c17489fb04be8bc74f568659d687df612...1e897828d917341fb7dd444c7bbd6cfa0998caa9">compare
view</a></li>
</ul>
</details>
<br />
Dependabot will resolve any conflicts with this PR as long as you don't
alter it yourself. You can also trigger a rebase manually by commenting
`@dependabot rebase`.
[//]: # (dependabot-automerge-start)
[//]: # (dependabot-automerge-end)
---
<details>
<summary>Dependabot commands and options</summary>
<br />
You can trigger Dependabot actions by commenting on this PR:
- `@dependabot rebase` will rebase this PR
- `@dependabot recreate` will recreate this PR, overwriting any edits
that have been made to it
- `@dependabot show <dependency name> ignore conditions` will show all
of the ignore conditions of the specified dependency
- `@dependabot ignore this major version` will close this PR and stop
Dependabot creating any more for this major version (unless you reopen
the PR or upgrade to it yourself)
- `@dependabot ignore this minor version` will close this PR and stop
Dependabot creating any more for this minor version (unless you reopen
the PR or upgrade to it yourself)
- `@dependabot ignore this dependency` will close this PR and stop
Dependabot creating any more for this dependency (unless you reopen the
PR or upgrade to it yourself)
</details>
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>1 parent 0da7738 commit 189e5c1
1 file changed
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
40 | 40 | | |
41 | 41 | | |
42 | 42 | | |
43 | | - | |
| 43 | + | |
44 | 44 | | |
45 | 45 | | |
46 | 46 | | |
| |||
0 commit comments