ci: add GIT_COMMIT_MESSAGE_SUFFIX param to bump-ruby-package task#62
Merged
Merged
Conversation
Add an optional GIT_COMMIT_MESSAGE_SUFFIX parameter to both the task definition and the shell script. When set, the suffix is appended to the auto-generated commit message, allowing callers to include tokens required by branch protection rulesets (e.g. [skip-commit-ruleset]). ai-assisted=yes Co-authored-by: Cursor <cursoragent@cursor.com>
There was a problem hiding this comment.
Pull request overview
Adds support for optionally appending a caller-provided suffix to the auto-generated git commit message in the bump-ruby-package Concourse task, enabling compliance with branch protection commit-message rules (mirrors the existing bump-gems task behavior in this repo).
Changes:
- Add
GIT_COMMIT_MESSAGE_SUFFIXtobump-ruby-package.ymltask params. - Update
bump-ruby-package.shto appendGIT_COMMIT_MESSAGE_SUFFIXverbatim to the generated commit message when set.
Reviewed changes
Copilot reviewed 2 out of 2 changed files in this pull request and generated no comments.
| File | Description |
|---|---|
| ci/tasks/shared/bump-ruby-package.yml | Declares GIT_COMMIT_MESSAGE_SUFFIX as an optional task parameter. |
| ci/tasks/shared/bump-ruby-package.sh | Builds commit_message and conditionally appends GIT_COMMIT_MESSAGE_SUFFIX before git commit. |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
KauzClay
approved these changes
Jul 7, 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
GIT_COMMIT_MESSAGE_SUFFIXparameter tobump-ruby-package.ymlbump-ruby-package.shto append the suffix to the auto-generated commit message when the param is setThis mirrors the same pattern added to
bump-gemsin #61. It allows callers to inject tokens required by branch protection rulesets (e.g.[skip-commit-ruleset]) without forking the task.Test plan
GIT_COMMIT_MESSAGE_SUFFIX: "\n\n[skip-commit-ruleset]"in a pipeline and verify the resulting commit message includes the suffixGIT_COMMIT_MESSAGE_SUFFIXis unset the commit message is unchangedMade with Cursor