fix(action): remove prefix from pr titles

Titles that only includen partial prefixes causes markdown parsing
errors for the `annotate` function.
This commit is contained in:
Luis Ball 2021-11-23 13:34:13 -08:00
parent d5fa010fb0
commit cabd354ec9
1 changed files with 1 additions and 0 deletions

View File

@ -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