chore: remove extra strings from run

This commit is contained in:
Luis Ball 2021-11-22 20:41:17 -08:00
parent 92b151fdc6
commit e76f12614f
1 changed files with 2 additions and 5 deletions

View File

@ -14,14 +14,11 @@ jobs:
token: ${{ secrets.PAT }} token: ${{ secrets.PAT }}
- name: Install the dependencies - name: Install the dependencies
run: | run: |
brew update
brew tap luqven/gh-stack brew tap luqven/gh-stack
brew install gh-stack brew install gh-stack
- name: Automatic Stacked PR Annotation - name: Automatic Stacked PR Annotation
run: | 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 echo $PR_TITLE
gh-stack annotate $PR_TITLE --ci gh-stack annotate $PR_TITLE --ci
env:
PR_TITLE: ${{ github.event.issue.title }}