How to clean dependabot PRs when body is used as merge message? #843
-
Hello, I have kodiak and dependabot. Its fairly slick - thank you. On catch is that dependabot has PR bodies with lots of info and markup that makes my git log kinda messy. Here's a gist as an example of what shows in the commit log. My full kodiak.toml is in this gist, but I am stripping the html form the comments: [merge.message]
# works with squash commits and semeantic PR.
title = "pull_request_title"
body = "pull_request_body"
strip_html_comments = true The informative dependabot PR body message is helpful ... just not right for the merge message. Can we have different messages per user? Any suggestions? |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 6 replies
-
Sorry for the delay! Do you think the I think there are some html comments in dependabot's pr descriptions that can be used for the markers https://kodiakhq.com/docs/config-reference#mergemessagecut_body_before |
Beta Was this translation helpful? Give feedback.
-
@sbdchd thanks. Yes, That is one path, but I am using those with our own PR templates. I think I could add some string from dependabot PR and add it to the PR so I can use the |
Beta Was this translation helpful? Give feedback.
Sorry for the delay! Do you think the
cut_body_after
andcut_body_before
params could be of use here?I think there are some html comments in dependabot's pr descriptions that can be used for the markers
https://kodiakhq.com/docs/config-reference#mergemessagecut_body_before