Skip to content

Commit 1392ae9

Browse files
ci: Pass 'GITHUB_TOKEN' to GitHub CLI (#3473)
1 parent bf3e9d8 commit 1392ae9

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

.github/workflows/canary.yaml

+4
Original file line numberDiff line numberDiff line change
@@ -23,9 +23,13 @@ jobs:
2323

2424
- name: Download event.json
2525
run: gh run download "$CI_WORKFLOW_ID" -n event.json
26+
env:
27+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
2628

2729
- name: Download NPM package artifact
2830
run: gh run download "$CI_WORKFLOW_ID" -n npmDist -D npmDist
31+
env:
32+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
2933

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

0 commit comments

Comments
 (0)