From b5ec9f97db86c08f0adae9f3a1179dea97b0c299 Mon Sep 17 00:00:00 2001 From: Lee SangMin Date: Sun, 16 Jul 2023 22:08:51 +0900 Subject: [PATCH] Update src/action.go --- src/action.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/action.go b/src/action.go index 9f87490..d80490b 100644 --- a/src/action.go +++ b/src/action.go @@ -61,7 +61,7 @@ func updateOrCreateDraftRelease(a *Action, cfg *config.RepoConfig) (*gitea.Relea if changelog != nil { for label, prs := range *changelog { if len(prs) > 0 { - if strings.Contains(label, "Satatus/") { + if !strings.Contains(label, "Status/") { // TODO: here we should take the label from the config and only default to the name fmt.Fprintf(&b, "## %s\n\n", strings.Title(label))