Skip to content

Commit

Permalink
[ci] Fix passing secrets to runtime_prereleases
Browse files Browse the repository at this point in the history
Second try, seems like you need to explicitly pass secrets to reusable
workflows.

ghstack-source-id: 05ffdae13474dba64119182bf72c15d07f83efd2
Pull Request resolved: #30504
  • Loading branch information
poteto committed Jul 29, 2024
1 parent 9938e24 commit 941e1b4
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .github/workflows/runtime_prereleases.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,9 @@ on:
dist_tag:
required: true
type: string
secrets:
NPM_TOKEN:
required: true

env:
TZ: /usr/share/zoneinfo/America/Los_Angeles
Expand Down
4 changes: 4 additions & 0 deletions .github/workflows/runtime_prereleases_manual.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,8 @@ jobs:
# downstream consumers might still expect that tag. We can remove this
# after some time has elapsed and the change has been communicated.
dist_tag: canary,next,rc
secrets:
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}

publish_prerelease_experimental:
name: Publish to Experimental channel
Expand All @@ -41,3 +43,5 @@ jobs:
commit_sha: ${{ inputs.prerelease_commit_sha }}
release_channel: experimental
dist_tag: experimental
secrets:
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
4 changes: 4 additions & 0 deletions .github/workflows/runtime_prereleases_nightly.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,8 @@ jobs:
commit_sha: ${{ github.sha }}
release_channel: stable
dist_tag: canary,next,rc
secrets:
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}

publish_prerelease_experimental:
name: Publish to Experimental channel
Expand All @@ -29,3 +31,5 @@ jobs:
commit_sha: ${{ github.sha }}
release_channel: experimental
dist_tag: experimental
secrets:
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}

0 comments on commit 941e1b4

Please sign in to comment.