Skip to content

Commit

Permalink
ci: Pass 'GITHUB_TOKEN' to GitHub CLI (#3473)
Browse files Browse the repository at this point in the history
  • Loading branch information
IvanGoncharov committed Feb 3, 2022
1 parent bf3e9d8 commit 1392ae9
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions .github/workflows/canary.yaml
Expand Up @@ -23,9 +23,13 @@ jobs:

- name: Download event.json
run: gh run download "$CI_WORKFLOW_ID" -n event.json
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

- name: Download NPM package artifact
run: gh run download "$CI_WORKFLOW_ID" -n npmDist -D npmDist
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

- name: Modify NPM package to be canary release
uses: actions/github-script@v5
Expand Down

0 comments on commit 1392ae9

Please sign in to comment.