chore: add oauth token env

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

View File

@ -17,10 +17,10 @@ jobs:
brew tap luqven/gh-stack brew tap luqven/gh-stack
brew install gh-stack brew install gh-stack
- name: Annotate the pull request - name: Annotate the pull request
run: |
PR_TITLE=$(echo "$PR_TITLE" | cut -d "]" -f 1)
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 GHSTACK_TARGET_REPOSITORY: luqven/gh-stack
GHSTACK_OAUTH_TOKEN: ${{ secrets.PAT }}
run: |
PR_TITLE=$(echo "$PR_TITLE" | cut -d "]" -f 1)
gh-stack annotate "$PR_TITLE" --ci