Skip to content

Don't error on symlinks and executables when they don't have to be touched anyway#563

Merged
Andarist merged 2 commits into
mainfrom
fix/untouched-symlinks
Jan 28, 2026
Merged

Don't error on symlinks and executables when they don't have to be touched anyway#563
Andarist merged 2 commits into
mainfrom
fix/untouched-symlinks

Conversation

@Andarist

Copy link
Copy Markdown
Member

fixes #523

@Andarist Andarist requested a review from bluwy January 27, 2026 19:17
@changeset-bot

changeset-bot Bot commented Jan 27, 2026

Copy link
Copy Markdown

🦋 Changeset detected

Latest commit: 6f0f2b3

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 1 package
Name Type
@changesets/action Patch

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

Comment thread package.json Outdated
"@actions/exec": "^1.1.1",
"@actions/github": "^6.0.1",
"@changesets/ghcommit": "^2.0.0",
"@changesets/ghcommit": "2.0.1",

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
"@changesets/ghcommit": "2.0.1",
"@changesets/ghcommit": "^2.0.1",

Maybe we should keep the caret

@Andarist Andarist merged commit 6af4a7e into main Jan 28, 2026
1 check passed
@Andarist Andarist deleted the fix/untouched-symlinks branch January 28, 2026 08:02
@github-actions github-actions Bot mentioned this pull request Jan 28, 2026
@dotansimha

Copy link
Copy Markdown

thanks @Andarist !

ByronDWall added a commit to commercetools/merchant-center-application-kit that referenced this pull request Apr 16, 2026
Swaps `dotansimha/changesets-action@v1.5.2` (a ~2-year stale fork) for
upstream `changesets/action@v1.7.0`, which is required for
`commitMode: "github-api"` support — needed to produce signed changeset
commits that satisfy the org-wide "Require signed commits" ruleset
(enforced 2026-04-10).

Upstream does not ship the fork's `createGithubReleases: aggregate`
mode. To preserve the single consolidated GitHub release, this adds a
follow-up `scripts/create-aggregate-github-release.sh` that parses
`steps.changesets.outputs.publishedPackages` and assembles the release
body from each package's CHANGELOG.md. v1.7.0 is specifically required
to avoid the "Unexpected executable file" error — earlier versions
(including v1.5.3) error on committed executables even when untouched
(fixed by changesets/action#563).

Closes FEC-828

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
ByronDWall added a commit to commercetools/ui-kit that referenced this pull request Apr 16, 2026
Swaps `dotansimha/changesets-action@v1.5.2` (a ~2-year stale fork) for
upstream `changesets/action@v1.7.0`, which is required for
`commitMode: "github-api"` support — needed to produce signed changeset
commits that satisfy the org-wide "Require signed commits" ruleset
(enforced 2026-04-10).

Upstream does not ship the fork's `createGithubReleases: aggregate`
mode. To preserve the single consolidated GitHub release, this adds a
follow-up `scripts/create-aggregate-github-release.sh` that parses
`steps.changesets.outputs.publishedPackages` and assembles the release
body from each package's CHANGELOG.md. v1.7.0 is specifically required
to avoid the "Unexpected executable file" error — earlier versions
(including v1.5.3) error on committed executables even when untouched
(fixed by changesets/action#563).

Closes FEC-829

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
ByronDWall added a commit to commercetools/merchant-center-application-kit that referenced this pull request Apr 16, 2026
…+ aggregate release (#3973)

* ci(release): replace dotansimha fork with upstream changesets/action

Swaps `dotansimha/changesets-action@v1.5.2` (a ~2-year stale fork) for
upstream `changesets/action@v1.7.0`, which is required for
`commitMode: "github-api"` support — needed to produce signed changeset
commits that satisfy the org-wide "Require signed commits" ruleset
(enforced 2026-04-10).

Upstream does not ship the fork's `createGithubReleases: aggregate`
mode. To preserve the single consolidated GitHub release, this adds a
follow-up `scripts/create-aggregate-github-release.sh` that parses
`steps.changesets.outputs.publishedPackages` and assembles the release
body from each package's CHANGELOG.md. v1.7.0 is specifically required
to avoid the "Unexpected executable file" error — earlier versions
(including v1.5.3) error on committed executables even when untouched
(fixed by changesets/action#563).

Closes FEC-828

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>

* ci(release): call aggregate release script from workflow

Replaces the inline bash block with a call to
scripts/create-aggregate-github-release.sh (the script was added in
the previous commit but the workflow was still inlining the body).

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>

---------

Co-authored-by: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
ByronDWall added a commit to commercetools/ui-kit that referenced this pull request Apr 16, 2026
…+ aggregate release (#3234)

* ci(release): replace dotansimha fork with upstream changesets/action

Swaps `dotansimha/changesets-action@v1.5.2` (a ~2-year stale fork) for
upstream `changesets/action@v1.7.0`, which is required for
`commitMode: "github-api"` support — needed to produce signed changeset
commits that satisfy the org-wide "Require signed commits" ruleset
(enforced 2026-04-10).

Upstream does not ship the fork's `createGithubReleases: aggregate`
mode. To preserve the single consolidated GitHub release, this adds a
follow-up `scripts/create-aggregate-github-release.sh` that parses
`steps.changesets.outputs.publishedPackages` and assembles the release
body from each package's CHANGELOG.md. v1.7.0 is specifically required
to avoid the "Unexpected executable file" error — earlier versions
(including v1.5.3) error on committed executables even when untouched
(fixed by changesets/action#563).

Closes FEC-829

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>

* ci(release): call aggregate release script from workflow

Replaces the inline bash block with a call to
scripts/create-aggregate-github-release.sh (the script was added in
the previous commit but the workflow was still inlining the body).

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>

* ci(release): reset tree before canary publish

changesets/action in commitMode: github-api runs the `version:`
command locally (bumping package.jsons, deleting .changeset/*.md)
but commits via the GitHub API without resetting the working tree.
The next step's `git checkout main` fails silently on the dirty
state, causing canary to publish production version numbers under
the canary dist-tag.

Fix: hard-reset to origin/main before running canary, and add
`set -euo pipefail` so future silent failures become hard stops.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>

---------

Co-authored-by: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

3 participants