Skip to content

Conversation

@josill
Copy link
Contributor

@josill josill commented Jan 19, 2026

Fix #1699

Remove the title field from SCM commit message configuration. Commit titles now always use the target name (or description as fallback), removing the ability to override the commit title.

Breaking Change: Configurations using commitMessage.title will need to remove that field. Ensure targets have meaningful name fields (which should already be the case).

Test

To test this pull request, you can run the following commands:

cd pkg/plugins/scms/git/commit
go test

Tradeoff

Removing the title configuration field reduces flexibility but simplifies the API and enforces consistency. Users who relied on custom commit titles will need to ensure their target names are descriptive enough for commit messages.

Potential improvement

Consider adding validation to ensure target names are always set and meaningful, since they now directly impact commit messages.

@josill josill marked this pull request as ready for review January 19, 2026 12:42
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.

Feature Request: Deprecate and remove scm commit title configuration

2 participants