diff --git a/.github/workflows/annotate.yml b/.github/workflows/annotate.yml index 30d92eb..bdb09d0 100644 --- a/.github/workflows/annotate.yml +++ b/.github/workflows/annotate.yml @@ -19,6 +19,9 @@ jobs: brew install gh-stack - name: Automatic Stacked PR Annotation run: | - export PR_TITLE_FULL=$(jq -r ".pull_request.title" "$GITHUB_EVENT_PATH") - export PR_TITLE=$(echo "$PR_TITLE_FULL" | cut -d "]" -f 1) + set -e + PR_TITLE_FULL=$(jq -r ".pull_request.title" "$GITHUB_EVENT_PATH") + PR_TITLE=$(echo "$PR_TITLE_FULL" | cut -d "]" -f 1) + echo $PR_TITLE_FULL + echo $PR_TITLE gh-stack annotate $PR_TITLE --ci