Skip to content

Commit c00d3b2

Browse files
authored
Fix: Changeset (#2873)
* fix * k
1 parent 90e6abb commit c00d3b2

File tree

1 file changed

+10
-1
lines changed

1 file changed

+10
-1
lines changed

.github/workflows/publish-sdks.yml

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,8 @@ on:
55
push:
66
branches:
77
- main
8+
# We allow manually dispatching workflow when needed. Most often, this will not be needed.
9+
workflow_dispatch:
810

911
concurrency: ${{ github.workflow }}-${{ github.ref }}
1012

@@ -16,6 +18,9 @@ jobs:
1618
steps:
1719
- name: Setup
1820
uses: actions/checkout@v3
21+
with:
22+
# need this custom token to run CI checks on the created PR
23+
token: ${{ secrets.CUSTOM_GITHUB_TOKEN }}
1924

2025
- name: Use Node.js
2126
uses: actions/setup-node@v3
@@ -35,8 +40,12 @@ jobs:
3540
with:
3641
publish: yarn workspace @builder.io/sdks ci:release
3742
title: '📦 Publish SDKs'
43+
commit: '📦 Publish SDKs'
3844
env:
39-
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
45+
# need this custom token to run CI checks on the created PR
46+
GITHUB_TOKEN: ${{ secrets.CUSTOM_GITHUB_TOKEN }}
47+
48+
# probably don't need both of those, but it works!
4049
NPM_TOKEN: ${{ secrets.NPM_SDK_RELEASE_TOKEN }}
4150
NODE_AUTH_TOKEN: ${{ secrets.NPM_SDK_RELEASE_TOKEN }}
4251

0 commit comments

Comments
 (0)