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:
parent
d5fa010fb0
commit
cabd354ec9
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue