chore: change environment name to "release"#1949
Conversation
On-behalf-of: Gerald Morrison (SAP) <gerald.morrison@sap.com> Signed-off-by: Gerald Morrison (SAP) <gerald.morrison@sap.com>
|
Caution Review failedPull request was closed or merged during review No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: defaults Review profile: CHILL Plan: Pro Run ID: 📒 Files selected for processing (1)
📝 WalkthroughWalkthroughRenames the Phase 2 environment gate from Changes
Estimated code review effort🎯 2 (Simple) | ⏱️ ~10 minutes Suggested labels
Suggested reviewers
Poem
🚥 Pre-merge checks | ✅ 3✅ Passed checks (3 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. ✨ Finishing Touches🧪 Generate unit tests (beta)
Comment |
There was a problem hiding this comment.
Caution
Some comments are outside the diff and can’t be posted inline due to platform limitations.
⚠️ Outside diff range comments (1)
.github/workflows/cli-release.yml (1)
181-194:⚠️ Potential issue | 🔴 CriticalVerify the
releaseenvironment is configured and update RELEASE_PROCESS.md.Line 194 changes the environment gate from
cli/releasetorelease, but RELEASE_PROCESS.md still documents approval of thecli/releaseenvironment gate. This mismatch will cause release managers to approve the wrong environment, silently blocking Phase 2 (verify_attestations, promote_final, release_final).Before merging:
- Confirm the
releaseenvironment exists in GitHub Settings with the same protection rules (required reviewers, wait timer, branch policy) as the previouscli/releasegate.- Update RELEASE_PROCESS.md to instruct approval of the
releaseenvironment instead ofcli/release.🤖 Prompt for AI Agents
Verify each finding against the current code and only fix it if needed. In @.github/workflows/cli-release.yml around lines 181 - 194, The workflow changed the environment gate from "cli/release" to "release" for the verify_attestations job (job id verify_attestations, environment: name: release), but RELEASE_PROCESS.md still references "cli/release"; update RELEASE_PROCESS.md to instruct approvers to approve the "release" environment and confirm in GitHub Settings that the "release" environment exists with the same protection rules (required reviewers, wait timer, branch policy) previously applied to "cli/release" before merging so Phase 2 jobs (verify_attestations, promote_final, release_final) are not blocked.
🤖 Prompt for all review comments with AI agents
Verify each finding against the current code and only fix it if needed.
Outside diff comments:
In @.github/workflows/cli-release.yml:
- Around line 181-194: The workflow changed the environment gate from
"cli/release" to "release" for the verify_attestations job (job id
verify_attestations, environment: name: release), but RELEASE_PROCESS.md still
references "cli/release"; update RELEASE_PROCESS.md to instruct approvers to
approve the "release" environment and confirm in GitHub Settings that the
"release" environment exists with the same protection rules (required reviewers,
wait timer, branch policy) previously applied to "cli/release" before merging so
Phase 2 jobs (verify_attestations, promote_final, release_final) are not
blocked.
ℹ️ Review info
⚙️ Run configuration
Configuration used: defaults
Review profile: CHILL
Plan: Pro
Run ID: 9bccfc00-746c-497f-ab8d-2415f4b39d42
📒 Files selected for processing (1)
.github/workflows/cli-release.yml
frewilhelm
left a comment
There was a problem hiding this comment.
Can we adjust the release process document as well (#1949 (review))
On-behalf-of: Gerald Morrison (SAP) <gerald.morrison@sap.com> Signed-off-by: Gerald Morrison (SAP) <gerald.morrison@sap.com>
bce395d
On-behalf-of: Gerald Morrison (SAP) <gerald.morrison@sap.com> <!-- markdownlint-disable MD041 --> #### What this PR does / why we need it Change the GH environment name to "release" for all release workflows. <!-- This is an auto-generated comment: release notes by coderabbit.ai --> ## Summary by CodeRabbit * **Chores** * Updated CI/CD workflow configuration to refine environment gating for release processes and removed redundant documentation. <!-- end of auto-generated comment: release notes by coderabbit.ai --> Signed-off-by: Gerald Morrison (SAP) <gerald.morrison@sap.com> Co-authored-by: Gerald Morrison (SAP) <gerald.morrison@sap.com>
On-behalf-of: Gerald Morrison (SAP) <gerald.morrison@sap.com> <!-- markdownlint-disable MD041 --> #### What this PR does / why we need it Change the GH environment name to "release" for all release workflows. <!-- This is an auto-generated comment: release notes by coderabbit.ai --> ## Summary by CodeRabbit * **Chores** * Updated CI/CD workflow configuration to refine environment gating for release processes and removed redundant documentation. <!-- end of auto-generated comment: release notes by coderabbit.ai --> Signed-off-by: Gerald Morrison (SAP) <gerald.morrison@sap.com> Co-authored-by: Gerald Morrison (SAP) <gerald.morrison@sap.com> Signed-off-by: Gerald Morrison (SAP) <gerald.morrison@sap.com>
On-behalf-of: Gerald Morrison (SAP) gerald.morrison@sap.com
What this PR does / why we need it
Change the GH environment name to "release" for all release workflows.
Summary by CodeRabbit