Skip to content

fix(ci): guard release manifest reconcile commit when nothing to commit - #22

Merged
OneByJorah merged 1 commit into
mainfrom
agent/ci-fix
Oct 18, 2026
Merged

OneByJorah merged 1 commit into
mainfrom
agent/ci-fix

Conversation

@OneByJorah

Copy link
Copy Markdown
Owner

Fixes the Release workflow failure: release job exits 1 with 'nothing to commit, working tree clean'.

In .github/workflows/reusable-release.yml, the manifest reconcile step rewrites .release-please-manifest.json via jq and always runs git commit under set -e. When the manifest already matches the changelog head (normal after a release-PR merge), the rewrite produces no diff and the job fails after the GitHub release was already created.

Fix: only commit/push when git diff --cached --quiet shows a staged change.

Identical shared-workflow patch applied to telnoc, nuxora, pivona, konfiva, dirvex.

The 'Create tag + GitHub release' step in reusable-release.yml ran 'git commit'
under set -e after rewriting .release-please-manifest.json with jq; when the
manifest already matches the changelog head (normal after a release-PR merge),
jq's rewrite produces no diff and 'git commit' fails with 'nothing to commit,
working tree clean', failing the Release job after the GitHub release was
already created. Only commit/push when a change is staged.

Same shared-workflow fix as OneByJorah/telnoc#48.
@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Oct 18, 2026 •

Copy link
Copy Markdown

Codex Review Summary

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ✅ Completed 2026-10-18T18:38:17.676366Z bb6fe64 PR opened
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

@OneByJorah
OneByJorah merged commit 702d897 into main Oct 18, 2026
5 checks passed
@OneByJorah
OneByJorah deleted the agent/ci-fix branch October 18, 2026 18:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant