Skip to content

Commit 359eebf

Browse files
ci(stlc): route promote/sync workflows to the openlayer-ai repo names
The transferred staging repos live at openlayer-ai/openlayer-<lang>-staging-new, but the shipped stlc-promote.yml / stlc-sync.yml gates named openlayer-<lang>-staging (and openlayer-typescript-staging for TS), so every job was being skipped silently. Point the `github.repository ==` gates and STAGING_REPO at the real slugs and set CONFIG_REPO to the stlc config repo. Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01XwEaNPPVYspSLwxPo3yquG
1 parent 9d69c12 commit 359eebf

2 files changed

Lines changed: 5 additions & 9 deletions

File tree

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

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
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`.
31
name: Promote SDKs
42

53
# Promote staging to production by fast-forwarding production main up to staging,
@@ -16,7 +14,7 @@ jobs:
1614
promote:
1715
# Runner comes from the STLC_RUNNER repo/org variable when set; defaults to GitHub-hosted.
1816
runs-on: ${{ vars.STLC_RUNNER || 'ubuntu-latest' }}
19-
if: github.repository == 'openlayer-ai/openlayer-python-staging'
17+
if: github.repository == 'openlayer-ai/openlayer-python-staging-new'
2018
# Optional gate: add required reviewers to this environment to approve each
2119
# promote. With none it only scopes secrets and adds no gate. Remove if unused.
2220
environment: production

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

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
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`.
31
name: Sync SDK repos
42

53
# Keeps the staging and production trunks in sync and the config repo's
@@ -26,7 +24,7 @@ jobs:
2624
# Runner comes from the STLC_RUNNER repo/org variable when set; defaults to GitHub-hosted.
2725
runs-on: ${{ vars.STLC_RUNNER || 'ubuntu-latest' }}
2826
if: >-
29-
github.repository == 'openlayer-ai/openlayer-python-staging' &&
27+
github.repository == 'openlayer-ai/openlayer-python-staging-new' &&
3028
(github.event_name == 'schedule' || github.event_name == 'workflow_dispatch' || github.event_name == 'repository_dispatch')
3129
permissions:
3230
contents: write
@@ -107,7 +105,7 @@ jobs:
107105
permissions:
108106
contents: read
109107
env:
110-
STAGING_REPO: openlayer-ai/openlayer-python-staging
108+
STAGING_REPO: openlayer-ai/openlayer-python-staging-new
111109
steps:
112110
- name: Dispatch back-sync to staging
113111
env:
@@ -155,15 +153,15 @@ jobs:
155153
# stlc's own pushes, so the bot's commits can't trigger a re-seal loop.
156154
runs-on: ${{ vars.STLC_RUNNER || 'ubuntu-latest' }}
157155
if: >-
158-
github.repository == 'openlayer-ai/openlayer-python-staging' &&
156+
github.repository == 'openlayer-ai/openlayer-python-staging-new' &&
159157
github.event_name == 'push'
160158
permissions:
161159
contents: read
162160
concurrency:
163161
group: seal-dispatch-${{ github.ref }}
164162
cancel-in-progress: false
165163
env:
166-
CONFIG_REPO: TODO-set-to-your-config-repo # e.g. openlayer-ai/openlayer-config
164+
CONFIG_REPO: openlayer-ai/openlayer-public-api
167165
steps:
168166
- name: Loop-guard and send re-seal dispatch
169167
env:

0 commit comments

Comments
 (0)