ci(deps): bump step-security/changeset-action to v1.9.0#7926
Conversation
|
✅ Snyk checks have passed. No issues have been found so far.
💻 Catch issues earlier using the plugins for VS Code, JetBrains IDEs, Visual Studio, and Eclipse. |
@coveo/atomic
@coveo/atomic-hosted-page
@coveo/atomic-legacy
@coveo/atomic-react
@coveo/auth
@coveo/bueno
@coveo/create-atomic
@coveo/create-atomic-component
@coveo/create-atomic-component-project
@coveo/create-atomic-result-component
@coveo/create-atomic-rollup-plugin
@coveo/headless
@coveo/headless-react
@coveo/shopify
commit: |
There was a problem hiding this comment.
Pull request overview
Updates the CD workflow to use a newer pinned version of step-security/changeset-action, aligning the release job with upstream behavior so GitHub releases and the published output are still produced even if one package publish fails in a monorepo.
Changes:
- Bump
step-security/changeset-actionfrom v1.7.0 to v1.9.0 in the release workflow. - Keep the action pinned to a specific commit SHA (verified to match tag
v1.9.0).
Problem
The release job in
cd.ymlpinsstep-security/changeset-action@v1.7.0. In a monorepo, if a single package fails to publish (e.g. missing npm permissions for a new package), the whole action fails becausegetExecOutputthrows on the non-zero exit code fromchangeset publish. As a result, packages that did publish successfully never get their GitHub releases created and thepublishedoutput is never set totrue.This was reported upstream in step-security/changeset-action#89.
Solution
Bump the pinned action from
v1.7.0(4ec991f) tov1.9.0(6ddf462), which syncs with upstreamchangesets/action@v1.9.0(PR changesets/action#535 by @Andarist). That fix addsignoreReturnCode: trueto thegetExecOutputcall inrunPublish, so the action still processesNew tag:lines, creates GitHub releases for the successfully published packages, and sets thepublishedoutput even when some packages fail to publish.Note:
ignoreReturnCodeis an internal fix within the action — there is no new workflow input to enable. Upgrading to v1.9.0 is all that is required to get the resilient-publish behavior.