Skip to content

chore: change environment name to "release"#1949

Merged
morri-son merged 3 commits into
open-component-model:mainfrom
morri-son:change-GH-environment
Mar 11, 2026
Merged

chore: change environment name to "release"#1949
morri-son merged 3 commits into
open-component-model:mainfrom
morri-son:change-GH-environment

Conversation

@morri-son

@morri-son morri-son commented Mar 11, 2026

Copy link
Copy Markdown
Contributor

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

  • Chores
    • Updated release gating to target the "release" environment instead of the prior environment name.
    • Adjusted attestations/verification gating and removed an unnecessary wait/comment.
    • Updated release process documentation to reflect the environment name change.

On-behalf-of: Gerald Morrison (SAP) <gerald.morrison@sap.com>
Signed-off-by: Gerald Morrison (SAP) <gerald.morrison@sap.com>
@morri-son morri-son requested a review from a team as a code owner March 11, 2026 09:53
@morri-son morri-son added the kind/chore chore, maintenance, etc. label Mar 11, 2026
@github-actions github-actions Bot added component/github-actions Changes on GitHub Actions or within `.github/` directory size/xs Extra small labels Mar 11, 2026
@coderabbitai

coderabbitai Bot commented Mar 11, 2026

Copy link
Copy Markdown
Contributor

Caution

Review failed

Pull request was closed or merged during review

No actionable comments were generated in the recent review. 🎉

ℹ️ Recent review info
⚙️ Run configuration

Configuration used: defaults

Review profile: CHILL

Plan: Pro

Run ID: 46a75d09-4912-4a45-b2b5-ffc7e68aee17

📥 Commits

Reviewing files that changed from the base of the PR and between b391c3e and d046e04.

📒 Files selected for processing (1)
  • RELEASE_PROCESS.md

📝 Walkthrough

Walkthrough

Renames the Phase 2 environment gate from cli/release to release in the GitHub Actions workflow and updates the RELEASE_PROCESS.md text to reference the release environment instead of cli/release; removes an inline comment in the workflow. No logic or public APIs changed.

Changes

Cohort / File(s) Summary
Workflow config
.github/workflows/cli-release.yml
Renamed environment gate from cli/release to release in the environment declaration and in the verify_attestations job; removed an inline wait timer comment line.
Documentation / Release process
RELEASE_PROCESS.md
Updated final-promotion wording to reference the release environment gate instead of cli/release in two places.

Estimated code review effort

🎯 2 (Simple) | ⏱️ ~10 minutes

Suggested labels

size/xs, component/github-actions, docs

Suggested reviewers

  • frewilhelm
  • matthiasbruns
  • jakobmoellerdev

Poem

🐰 A hop and a nibble, a tidy small tweak,
cli/release renamed, now release we seek,
Gates align neatly, the steps all the same,
A rabbit's small cheer for the workflow's new name! 🥕✨

🚥 Pre-merge checks | ✅ 3
✅ Passed checks (3 passed)
Check name Status Explanation
Description Check ✅ Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Title check ✅ Passed The title accurately summarizes the main change: renaming the GitHub environment from 'cli/release' to 'release' across workflow and documentation files.
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check.

✏️ Tip: You can configure your own custom pre-merge checks in the settings.

✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Post copyable unit tests in a comment

Comment @coderabbitai help to get the list of available commands and usage tips.

@coderabbitai coderabbitai Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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 | 🔴 Critical

Verify the release environment is configured and update RELEASE_PROCESS.md.

Line 194 changes the environment gate from cli/release to release, but RELEASE_PROCESS.md still documents approval of the cli/release environment gate. This mismatch will cause release managers to approve the wrong environment, silently blocking Phase 2 (verify_attestations, promote_final, release_final).

Before merging:

  1. Confirm the release environment exists in GitHub Settings with the same protection rules (required reviewers, wait timer, branch policy) as the previous cli/release gate.
  2. Update RELEASE_PROCESS.md to instruct approval of the release environment instead of cli/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

📥 Commits

Reviewing files that changed from the base of the PR and between 6205a8a and b391c3e.

📒 Files selected for processing (1)
  • .github/workflows/cli-release.yml

@morri-son morri-son enabled auto-merge (squash) March 11, 2026 10:13
matthiasbruns
matthiasbruns previously approved these changes Mar 11, 2026

@frewilhelm frewilhelm left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can we adjust the release process document as well (#1949 (review))

Skarlso
Skarlso previously approved these changes Mar 11, 2026
piotrjanik
piotrjanik previously approved these changes Mar 11, 2026
On-behalf-of: Gerald Morrison (SAP) <gerald.morrison@sap.com>
Signed-off-by: Gerald Morrison (SAP) <gerald.morrison@sap.com>
@morri-son morri-son dismissed stale reviews from piotrjanik, Skarlso, and matthiasbruns via bce395d March 11, 2026 13:11
@morri-son morri-son merged commit 0f60b61 into open-component-model:main Mar 11, 2026
21 checks passed
frewilhelm pushed a commit to frewilhelm/open-component-model that referenced this pull request Mar 12, 2026
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>
morri-son added a commit to morri-son/open-component-model that referenced this pull request Mar 18, 2026
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>
@morri-son morri-son deleted the change-GH-environment branch April 23, 2026 12:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

component/github-actions Changes on GitHub Actions or within `.github/` directory kind/chore chore, maintenance, etc. size/xs Extra small

Projects

None yet

Development

Successfully merging this pull request may close these issues.

7 participants