From c4bf41744d48b7c2235b0a882e4532612dcc0540 Mon Sep 17 00:00:00 2001 From: Gareth Jones Date: Sun, 21 Aug 2022 10:35:52 +1200 Subject: [PATCH] ci: remove `#` from label colors (#1202) --- dangerfile.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dangerfile.ts b/dangerfile.ts index ea73bf306..940b69974 100644 --- a/dangerfile.ts +++ b/dangerfile.ts @@ -10,7 +10,7 @@ const createOrAddLabelSafely = async (name: string, color: string) => { try { await danger.github.utils.createOrAddLabel({ name, - color, + color: color.replace('#', ''), description: '', }); } catch (error) {