ci: use github-api commit mode for signed changeset commits#1015
Merged
ByronDWall merged 2 commits intomainfrom Apr 17, 2026
Merged
ci: use github-api commit mode for signed changeset commits#1015ByronDWall merged 2 commits intomainfrom
ByronDWall merged 2 commits intomainfrom
Conversation
The GitHub org enforces "Require signed commits" as of 2026-04-10. changesets/action defaults to commitMode: git-cli, which produces unsigned commits that are blocked by the ruleset. Setting commitMode: github-api routes the commit through the GitHub API, which auto-signs on behalf of the authoring GitHub App. Closes FEC-826 Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
|
tylermorrisford
approved these changes
Apr 16, 2026
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>
rajrdk
approved these changes
Apr 17, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
commitMode: 'github-api'tochangesets/actionstep in.github/workflows/release.ymlct-changesetsGitHub App, satisfying the org-wide "Require signed commits" ruleset (enforced 2026-04-10)changeset-release/mainPR from mergingProof of approach: commercetools/nimbus#1380
Closes FEC-826
Parent: FEC-822
Test plan
changeset-release/mainbranch whose bot commit shows a green Verified badge🤖 Generated with Claude Code