Skip to content

Commit 4f062aa

Browse files
github-actions-bot: fix usage of NPM_CANARY_PR_PUBLISH_TOKEN (#3536)
1 parent a981dc6 commit 4f062aa

File tree

2 files changed

+5
-0
lines changed

2 files changed

+5
-0
lines changed

.github/workflows/cmd-publish-pr-on-npm.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,9 @@ on:
55
pullRequestJSON:
66
required: true
77
type: string
8+
secrets:
9+
NPM_CANARY_PR_PUBLISH_TOKEN:
10+
required: true
811
outputs:
912
replyMessage:
1013
value: ${{ jobs.publish-canary.outputs.replyMessage }}

.github/workflows/github-actions-bot.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -85,6 +85,8 @@ jobs:
8585
uses: ./.github/workflows/cmd-publish-pr-on-npm.yml
8686
with:
8787
pullRequestJSON: ${{ needs.accept-cmd.outputs.pullRequestJSON }}
88+
secrets:
89+
NPM_CANARY_PR_PUBLISH_TOKEN: ${{ secrets.NPM_CANARY_PR_PUBLISH_TOKEN }}
8890

8991
cmd-run-benchmark:
9092
needs: [accept-cmd]

0 commit comments

Comments
 (0)