Skip to content

chore: promote staging c23ff77 to production - #534

Merged
stainless-sync[bot] merged 2 commits into
mainfrom
stlc/promote
Sep 29, 2026
Merged

stainless-sync[bot] merged 2 commits into
mainfrom
stlc/promote

Conversation

@stainless-sync

@stainless-sync stainless-sync Bot commented Sep 29, 2026 •

Copy link
Copy Markdown
Contributor

Automated promote from the staging trunk, opened by stlc-promote.yml.

Approve this pull request - do not click Merge. Squash and rebase both rewrite SHAs, which forks the production trunk away from staging and blocks all codegen until someone reconciles them by hand. Merge commits are disabled on this repo.

Once CI is green here and this has one approval, re-run stlc-promote.yml in the config repo. It fast-forwards main onto these exact commits, GitHub closes this pull request as merged, and the trunks stay byte-identical.

RetriggerConfidence Score: 5/5

The PR appears safe to merge. No broken check or new bypass was found.

What we checked:

  • Old bot name cannot bypass checks: No. Both checks now grant the repo bot exemption only when the pull request author's numeric GitHub ID matches SDK_AUTOMATION_BOT_ID. The old login is no longer in either list.

Summary

The PR workflow now recognizes the repository’s SDK automation by its stable GitHub user ID instead of only its changeable bot login. That automation can skip title checks and target main without being blocked by the branch check.

Reviews (1) · Last reviewed commit: "Merge pull request #8 from scaleapi/ci/l..."

aringuyen3 and others added 2 commits September 29, 2026 09:54
The exemption for this repo's SDK automation App matched its bot by login,
agentex-sdk-sync[bot]. A GitHub App bot's login follows the App's name, so
when the App was renamed its bot became stainless-sync[bot] and the entry
silently stopped matching: release pull requests went back to failing
"Validate PR base branch" and drawing the "retarget to next" comment.

The stale entry was also a small hole. The rename released the old slug, so
anyone could register an App under it and that App's bot would have inherited
the exemption.

Match on the bot user's numeric ID instead, held once in a workflow-level
SDK_AUTOMATION_BOT_ID and read by both checks. A user ID never changes and is
never reused, so a future rename cannot break this and a new App reusing the
name gets nothing. The old login is removed rather than kept alongside.

The other exemptions stay login-based: stainless-app, release-please[bot],
github-actions[bot] and dependabot[bot] are not ours to rename.

Exercised both run blocks under bash -e against every author case: the
renamed bot is exempt from both checks; a different App on the freed name is
not; dependabot and human pull requests behave as before.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
ci(lint-pr): exempt the SDK automation App by bot user ID, not login
@stainless-sync
stainless-sync Bot merged commit c23ff77 into main Sep 29, 2026
52 checks passed
@stainless-sync
stainless-sync Bot deleted the stlc/promote branch September 29, 2026 17:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant