From cabd354ec95582473371c8709eb277ac197d6be7 Mon Sep 17 00:00:00 2001 From: Luis Ball Date: Tue, 23 Nov 2021 13:34:13 -0800 Subject: [PATCH] fix(action): remove prefix from pr titles Titles that only includen partial prefixes causes markdown parsing errors for the `annotate` function. --- .github/workflows/annotate.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/annotate.yml b/.github/workflows/annotate.yml index 09f7d8b..e5eb90c 100644 --- a/.github/workflows/annotate.yml +++ b/.github/workflows/annotate.yml @@ -23,4 +23,5 @@ jobs: GHSTACK_OAUTH_TOKEN: ${{ secrets.PAT }} run: | PR_TITLE=$(echo "$PR_TITLE" | cut -d "]" -f 1) + PR_TITLE=$(echo $PR_TITLE | sed 's/[][]//g') gh-stack annotate "$PR_TITLE" --ci