Skip to content

Commit f67de79

Browse files
committed
chore(ci): point stlc workflows at openlayer-ai
1 parent ed90004 commit f67de79

2 files changed

Lines changed: 12 additions & 18 deletions

File tree

‎.github/workflows/stlc-promote.yml‎

Lines changed: 4 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,5 @@
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`.
63
name: Promote SDKs
74

85
# Promote staging to production by fast-forwarding production main up to staging,
@@ -19,12 +16,12 @@ jobs:
1916
promote:
2017
# Runner comes from the STLC_RUNNER repo/org variable when set; defaults to GitHub-hosted.
2118
runs-on: ${{ vars.STLC_RUNNER || 'ubuntu-latest' }}
22-
if: github.repository == 'stainless-sdks/openlayer-python-staging'
19+
if: github.repository == 'openlayer-ai/openlayer-python-staging'
2320
# Optional gate: add required reviewers to this environment to approve each
2421
# promote. With none it only scopes secrets and adds no gate. Remove if unused.
2522
environment: production
2623
env:
27-
PRODUCTION_REPO: stainless-sdks/openlayer-python-prod
24+
PRODUCTION_REPO: openlayer-ai/openlayer-python
2825
GH_TOKEN: ${{ secrets.PRODUCTION_REPO_TOKEN }}
2926
steps:
3027
- name: Check out staging

‎.github/workflows/stlc-sync.yml‎

Lines changed: 8 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,5 @@
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`.
63
name: 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

Comments
 (0)