Skip to content

Commit c4bf417

Browse files
authored
ci: remove # from label colors (#1202)
1 parent 86c6116 commit c4bf417

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

dangerfile.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ const createOrAddLabelSafely = async (name: string, color: string) => {
1010
try {
1111
await danger.github.utils.createOrAddLabel({
1212
name,
13-
color,
13+
color: color.replace('#', ''),
1414
description: '',
1515
});
1616
} catch (error) {

0 commit comments

Comments
 (0)