RFR: 2588: Auto Labeling should ignore merge commits
Erik Joelsson
erikj at openjdk.org
Wed Sep 17 20:42:11 UTC 2025
On Wed, 17 Sep 2025 15:50:08 GMT, Zhao Song <zsong at openjdk.org> wrote:
> Currently, the auto labeling doesn't ignore merge commits, so when user merge master back into their feature branch, it's possible that unrelated labels are added to the pull request.
> This patch is trying to let the bot ignore all the merge commits and the commits brought in by the merges.
I think this will require extra care with dependent PRs. Since the target branch of a PR can change (and will for dependent PRs), we will need to record the merge-base we used in addition to the head hash.
-------------
PR Comment: https://git.openjdk.org/skara/pull/1740#issuecomment-3304498925
More information about the skara-dev
mailing list