From 8e2cbb0a2085f9f518dfac71c9973117940b2a50 Mon Sep 17 00:00:00 2001 From: asyncapi-bot Date: Tue, 26 Apr 2022 19:21:16 +0200 Subject: [PATCH] ci: update generic workflows (#95) --- .github/workflows/add-good-first-issue-labels.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/add-good-first-issue-labels.yml b/.github/workflows/add-good-first-issue-labels.yml index 00acdb84..dee10e72 100644 --- a/.github/workflows/add-good-first-issue-labels.yml +++ b/.github/workflows/add-good-first-issue-labels.yml @@ -21,7 +21,7 @@ jobs: github-token: ${{ secrets.GH_TOKEN }} script: | const areas = ['javascript', 'typescript', 'java' , 'go', 'docs', 'ci-cd', 'design']; - const values = context.payload.comment.body.split(" "); + const values = context.payload.comment.body.trim().split(" "); switch(values[1]){ case 'ts': values[1] = 'typescript';