fix: pass env vars using yaml

This commit is contained in:
Luis Ball 2021-11-22 21:15:18 -08:00
parent e76f12614f
commit 3dc7dbd0a2
1 changed files with 5 additions and 3 deletions

View File

@ -16,9 +16,11 @@ jobs:
run: | run: |
brew tap luqven/gh-stack brew tap luqven/gh-stack
brew install gh-stack brew install gh-stack
- name: Automatic Stacked PR Annotation - name: Annotate the pull request
run: | run: |
echo $PR_TITLE PR_TITLE=$(echo "$PR_TITLE" | cut -d "]" -f 1)
gh-stack annotate $PR_TITLE --ci echo "Annotating $PR_TITLE in $REPO_NAME"
gh-stack annotate "$PR_TITLE" -r "$REPO_NAME" --ci
env: env:
PR_TITLE: ${{ github.event.issue.title }} PR_TITLE: ${{ github.event.issue.title }}
REPO_NAME: luqven/gh-stack