bazel-steward icon indicating copy to clipboard operation
bazel-steward copied to clipboard

How to customize title & commit-message for Bazel (instead of Maven) kind?

Open vorburger opened this issue 8 months ago • 2 comments

https://virtuslab.github.io/bazel-steward/docs/configuration/configuration-file/pull-requests.html documents how to change title & commit-message for kinds: maven.

Let's also document how can one do this for Bazel dependencies? So that e.g. https://github.com/enola-dev/enola/pull/1453 is "deps: Updated rules_go from 0.54.1 to 0.55.0" instead of "Updated rules_go to 0.55.0".

I'm guessing that here it's possible to just copy/paste that block and use... kinds: bazel, presumably? Or would even kinds: [ maven, bazel ] work?

vorburger avatar Jun 07 '25 16:06 vorburger

#439 is a little bit related to this, just for the record, if that gets picked up, this should probably be considered.

vorburger avatar Jun 07 '25 16:06 vorburger

Actually, if I understand this correctly, you can just drop the kinds and it will use the same message for all?

https://github.com/enola-dev/enola/pull/1460 tries this. I'll send a PR for the doc if that works.

vorburger avatar Jun 07 '25 16:06 vorburger