fix: undo prefix argument usage

There's an issue with certain PR titles and the `--prefix` argument.
Investigating.
This commit is contained in:
Luis Ball 2021-11-24 10:37:35 -08:00
parent 39ae697b55
commit 8c72339e65
1 changed files with 3 additions and 1 deletions

View File

@ -22,4 +22,6 @@ jobs:
GHSTACK_TARGET_REPOSITORY: luqven/gh-stack GHSTACK_TARGET_REPOSITORY: luqven/gh-stack
GHSTACK_OAUTH_TOKEN: ${{ secrets.PAT }} GHSTACK_OAUTH_TOKEN: ${{ secrets.PAT }}
run: | run: |
gh-stack annotate "$PR_TITLE" --prefix '[]' --ci PR_TITLE=$(echo "$PR_TITLE" | cut -d "]" -f 1)
PR_TITLE=$(echo $PR_TITLE | sed 's/[][]//g')
gh-stack annotate "$PR_TITLE" --ci