Skip to content

Discussion: add "semver:n/a" label #649

@robdimsdale

Description

@robdimsdale

We have automation that picks up the existence of semver labels on PRs (e.g. semver:patch) and uses that to determine the version of the next release. We require all PRs to have a semver label.

But often we have commits that don't impact the product at all. Examples include bumping test libraries (and test timeouts), and modifying CI/tooling. Currently we label these as semver:patch but that means we can't differentiate those changes from meaningful patch releases (like actual bugfixes). This makes it harder to determine whether to publish a release if it is a patch release, as we have to look at each commit to determine if it is a meaningful change that impacts consumers, or a commit with no user-impact.

If we agree that these non-impactful changes should not need semver labels, then I propose giving them a new label: semver:n/a. This allows us to continue to requiring that all PRs have a semver:XYZ label, which in turn allows us to continue determining the versions easily and automatically based on semver labels.

There would be changes required to the automation to handle this new label (e.g. don't create a draft release if there are only semver:n/a labels) - I am not proposing we solve that problem at this time.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions