From e76f12614fb625f094d4200d873bf335833e62f6 Mon Sep 17 00:00:00 2001 From: Luis Ball Date: Mon, 22 Nov 2021 20:41:17 -0800 Subject: [PATCH] chore: remove extra strings from run --- .github/workflows/annotate.yml | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/.github/workflows/annotate.yml b/.github/workflows/annotate.yml index bdb09d0..181a545 100644 --- a/.github/workflows/annotate.yml +++ b/.github/workflows/annotate.yml @@ -14,14 +14,11 @@ jobs: token: ${{ secrets.PAT }} - name: Install the dependencies run: | - brew update brew tap luqven/gh-stack brew install gh-stack - name: Automatic Stacked PR Annotation run: | - 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 + env: + PR_TITLE: ${{ github.event.issue.title }}