Skip to content

CI: bump-deployments - skip commit when submodules already up to date - #689

Merged
ramonskie merged 1 commit into
mainfrom
fix-bump-deployments-nothing-to-commit
Jul 31, 2026
Merged

CI: bump-deployments - skip commit when submodules already up to date#689
ramonskie merged 1 commit into
mainfrom
fix-bump-deployments-nothing-to-commit

Conversation

@neddp

@neddp neddp commented Jul 31, 2026

Copy link
Copy Markdown
Member

git commit exits 1 when there is nothing to commit, failing the task even when the submodules are already pinned to the desired versions. This blocks the following tasks in the pipeline.

git commit exits 1 when there is nothing to commit, failing the task
even when the submodules are already pinned to the desired versions.
@coderabbitai

coderabbitai Bot commented Jul 31, 2026

Copy link
Copy Markdown
Contributor

Review Change Stack

No actionable comments were generated in the recent review. 🎉

ℹ️ Recent review info
⚙️ Run configuration

Configuration used: Organization UI

Review profile: ASSERTIVE

Plan: Pro Plus

Run ID: 99a6a010-581d-44d7-b94c-e42162ac52a1

📥 Commits

Reviewing files that changed from the base of the PR and between 5e7f7e4 and a80b08f.

📒 Files selected for processing (1)
  • ci/tasks/bump-deployments/task

Walkthrough

The deployment bump task now checks whether the working tree differs from HEAD. It creates the Update deployments commit only when changes exist. Unchanged repositories no longer receive an empty commit.

🚥 Pre-merge checks | ✅ 5
✅ Passed checks (5 passed)
Check name Status Explanation
Title check ✅ Passed The title clearly identifies the CI task and the change to skip commits when submodules are already up to date.
Description check ✅ Passed The description explains the failure condition and how the change prevents pipeline tasks from being blocked.
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check.
Linked Issues check ✅ Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check ✅ Passed Check skipped because no linked issues were found for this pull request.
✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch fix-bump-deployments-nothing-to-commit

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

@ramonskie
ramonskie merged commit e84378c into main Jul 31, 2026
8 checks passed
@ramonskie
ramonskie deleted the fix-bump-deployments-nothing-to-commit branch July 31, 2026 08:17
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.

2 participants