From 838d15bc62184979959ed56d7ed167c6a9994ec0 Mon Sep 17 00:00:00 2001 From: Clara Fu Date: Tue, 26 Jan 2021 12:06:11 -0500 Subject: [PATCH] reorder the label precedence We changed the order of the labels in terms of its precedence as an experiment to see if it makes more sense to have prs that are labelled with bug or enhancement to always be prioritized. But I think this doesn't make sense in the actual way that people apply the labels. For example, a very common use case is that when there is a bug fix for an unreleased feature in concourse, we will apply the bug label and the misc label because it does not affect any released versions of concourse. Signed-off-by: Clara Fu --- generate/generate.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/generate/generate.go b/generate/generate.go index 59f217d..41628c9 100644 --- a/generate/generate.go +++ b/generate/generate.go @@ -11,9 +11,9 @@ import ( // The ordering of this list is the order of precedence of the labels var ValidLabels = []string{ "breaking", + "misc", "bug", "enhancement", - "misc", } type PullRequestsNotLabelled struct {