diff --git a/.github/workflows/annotate.yml b/.github/workflows/annotate.yml index 1cd4ed3..e5eb90c 100644 --- a/.github/workflows/annotate.yml +++ b/.github/workflows/annotate.yml @@ -22,4 +22,6 @@ jobs: GHSTACK_TARGET_REPOSITORY: luqven/gh-stack GHSTACK_OAUTH_TOKEN: ${{ secrets.PAT }} 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