From 92b151fdc68029e5395ef1bca6e8758ab9c2e541 Mon Sep 17 00:00:00 2001 From: Luis Ball Date: Mon, 22 Nov 2021 13:38:02 -0800 Subject: [PATCH] chore: add debugging to gh-action --- .github/workflows/annotate.yml | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) 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