File tree Expand file tree Collapse file tree 4 files changed +5
-5
lines changed
Expand file tree Collapse file tree 4 files changed +5
-5
lines changed Original file line number Diff line number Diff line change 1818 --body-file /tmp/changeset-preview.md \
1919 --marker "<!-- changeset-version-preview -->"
2020 env :
21- GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
21+ GH_TOKEN : ${{ secrets.GH_TOKEN }}
Original file line number Diff line number Diff line change @@ -26,7 +26,7 @@ function parseArgs(argv) {
2626 bodyFile : values [ 'body-file' ] ,
2727 repo : values . repo ?? process . env . GITHUB_REPOSITORY ,
2828 marker : values . marker ?? DEFAULT_MARKER ,
29- token : values . token ?? process . env . GITHUB_TOKEN ,
29+ token : values . token ?? process . env . GH_TOKEN ,
3030 apiUrl :
3131 values [ 'api-url' ] ??
3232 ( process . env . GITHUB_API_URL || 'https://api.github.com' ) ,
@@ -47,7 +47,7 @@ function parseArgs(argv) {
4747 }
4848
4949 if ( ! args . token ) {
50- throw new Error ( 'Missing token. Provide --token or GITHUB_TOKEN .' )
50+ throw new Error ( 'Missing token. Provide --token or GH_TOKEN .' )
5151 }
5252
5353 return args
Original file line number Diff line number Diff line change @@ -49,7 +49,7 @@ Add this step to your `.github/workflows/release.yml` file after the `changesets
4949 commit : ' ci: Version Packages'
5050 title : ' ci: Version Packages'
5151 env :
52- GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
52+ GH_TOKEN : ${{ secrets.GH_TOKEN }}
5353
5454- name : Comment on PRs about release
5555 if : steps.changesets.outputs.published == 'true'
Original file line number Diff line number Diff line change 1212 run : node ${{ github.action_path }}/comment-on-release.ts
1313 env :
1414 PUBLISHED_PACKAGES : ${{ inputs.published-packages }}
15- GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
15+ GH_TOKEN : ${{ secrets.GH_TOKEN }}
You can’t perform that action at this time.
0 commit comments