Skip to content

Add semanticCommitType awareness to generateBranchConfig() #31979

@rarkins

Description

@rarkins

Describe the proposed change(s).

Renovate is not aware of the meaning of values of semanticCommitType - they're all just strings. Currently, when a branch has mixed values for semanticCommitType then whichever is the first update in the branch is used as the value for branch semanticCommitType.

Instead, we could:

  • Add awareness of the "importance" of semanticCommitType values (e.g. fix is more important than chore)
  • Implement this awareness in
    export function generateBranchConfig(
    so that the "most important" semanticCommitType value is chosen from the branch, instead of the first.

Metadata

Metadata

Assignees

No one assigned

    Labels

    priority-4-lowLow priority, unlikely to be done unless it becomes important to more people

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions