-
Notifications
You must be signed in to change notification settings - Fork 326
Open
Description
Summary
When using commitMode: github-api
, the changeset action fails to properly delete changeset files after processing them, leading to infinite "Version Packages" PR loops. Additionally, repositories with executable files fail with "GitHub API only supports non-executable files"
errors.
Environment
- changeset action version: v1.5.3
- Node version: 22.14.0
- Repository type: pnpm monorepo
- Platform: GitHub Actions (ubuntu-latest)
Expected Behavior
When a "Version Packages" PR is merged:
- Changeset files should be deleted after processing
- Next workflow run should detect no changesets and publish packages
- Executable files should not cause workflow failures
Actual Behavior
When using commitMode: github-api
:
- Changeset files are processed (versions bumped, CHANGELOGs updated) but NOT deleted
- Next workflow run creates another "Version Packages" PR (infinite loop)
- Publishing never occurs because changesets are always detected
- Executable files cause immediate workflow failure
Workaround
Switch to commitMode: git-cli
(the default) - this resolves both issues:
Impact
This makes commitMode: github-api
unusable for despite being documented as a feature with GPG signing benefits.
DesselBane, buffalom, JoshuaToenyes, allenkinzalow, matthew-gladman-oua and 2 more
Metadata
Metadata
Assignees
Labels
No labels