1- # NOTE(stlc migration, 2026-08-25): repo names below point at the
2- # stainless-sdks placeholder repos used to validate the migration.
3- # At cutover, replace:
4- # - the production repo with openlayer-ai/openlayer-python
5- # - the staging/config repo owner with your own org after transfer
1+ # NOTE(stlc migration): repo names below are set for openlayer-ai. CONFIG_REPO is
2+ # left as a TODO -- set it to your config repo, then re-seal with `stlc build --push`.
63name : Sync SDK repos
74
85# Keeps the staging and production trunks in sync and the config repo's
@@ -29,15 +26,15 @@ jobs:
2926 # Runner comes from the STLC_RUNNER repo/org variable when set; defaults to GitHub-hosted.
3027 runs-on : ${{ vars.STLC_RUNNER || 'ubuntu-latest' }}
3128 if : >-
32- github.repository == 'stainless-sdks /openlayer-python-staging' &&
29+ github.repository == 'openlayer-ai /openlayer-python-staging' &&
3330 (github.event_name == 'schedule' || github.event_name == 'workflow_dispatch' || github.event_name == 'repository_dispatch')
3431 permissions :
3532 contents : write
3633 concurrency :
3734 group : stlc-back-sync
3835 cancel-in-progress : true
3936 env :
40- PRODUCTION_REPO : stainless-sdks /openlayer-python-prod
37+ PRODUCTION_REPO : openlayer-ai /openlayer-python
4138 steps :
4239 - name : Check out staging
4340 uses : actions/checkout@v6
@@ -105,12 +102,12 @@ jobs:
105102 # the poll. Dispatch-only: it cannot write production or staging contents.
106103 runs-on : ${{ vars.STLC_RUNNER || 'ubuntu-latest' }}
107104 if : >-
108- github.repository == 'stainless-sdks /openlayer-python-prod ' &&
105+ github.repository == 'openlayer-ai /openlayer-python' &&
109106 (github.event_name == 'release' || github.event_name == 'workflow_dispatch')
110107 permissions :
111108 contents : read
112109 env :
113- STAGING_REPO : stainless-sdks /openlayer-python-staging
110+ STAGING_REPO : openlayer-ai /openlayer-python-staging
114111 steps :
115112 - name : Dispatch back-sync to staging
116113 env :
@@ -158,15 +155,15 @@ jobs:
158155 # stlc's own pushes, so the bot's commits can't trigger a re-seal loop.
159156 runs-on : ${{ vars.STLC_RUNNER || 'ubuntu-latest' }}
160157 if : >-
161- github.repository == 'stainless-sdks /openlayer-python-staging' &&
158+ github.repository == 'openlayer-ai /openlayer-python-staging' &&
162159 github.event_name == 'push'
163160 permissions :
164161 contents : read
165162 concurrency :
166163 group : seal-dispatch-${{ github.ref }}
167164 cancel-in-progress : false
168165 env :
169- CONFIG_REPO : stainless-sdks /openlayer-config
166+ CONFIG_REPO : TODO-set-to-your-config-repo # e.g. openlayer-ai /openlayer-config
170167 steps :
171168 - name : Loop-guard and send re-seal dispatch
172169 env :
0 commit comments