chore: add oauth token env
This commit is contained in:
parent
3dc7dbd0a2
commit
d5fa010fb0
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue