Fix the SDK release safety check - #106
Merged
Merged
Conversation
EntelligenceAI PR SummaryUpdated the release-doctor workflow to pass flowchart TD
classDef newBehavior fill:#dcfce7,stroke:#16a34a,color:#14532d;
Secret["PRODUCTION_REPO_TOKEN secret"] --> Step["Check release environment step"]
Step --> Script["bin/check-release-environment"]
Script --> Result["Release environment validation"]
class Secret,Step,Script,Result newBehavior;
Review Scorecard
Safe to merge — this is a clean, narrowly scoped change despite the Medium blast-radius classification from touching deployment configuration. The release-doctor workflow now limits Key Findings:
Evaluated against
Files requiring special attention
|
Merged
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
The release workflow uses
PRODUCTION_REPO_TOKEN, but the release-doctor check still looked for the retiredRELEASE_PLEASE_TOKENname and never passed the current secret into the script. This makes the release PR fail even when the real release token is configured. Align the check with the release workflow and expose the secret only to that validation step.\n\nVerified withbash -n, a positive dummy-token run, andgit diff --check.Need help on this PR? Tag
@codesmith-botwith what you need. Autofix is disabled.