From d5fa010fb0447b9670fae8606ed01c129ee58226 Mon Sep 17 00:00:00 2001 From: Luis Ball Date: Mon, 22 Nov 2021 21:24:27 -0800 Subject: [PATCH] chore: add oauth token env --- .github/workflows/annotate.yml | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/.github/workflows/annotate.yml b/.github/workflows/annotate.yml index 4f93964..09f7d8b 100644 --- a/.github/workflows/annotate.yml +++ b/.github/workflows/annotate.yml @@ -17,10 +17,10 @@ jobs: brew tap luqven/gh-stack brew install gh-stack - 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: 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