Skip to content

chore: use github environments#2682

Merged
frewilhelm merged 2 commits into
open-component-model:mainfrom
frewilhelm:use-gha-environments
May 29, 2026
Merged

chore: use github environments#2682
frewilhelm merged 2 commits into
open-component-model:mainfrom
frewilhelm:use-gha-environments

Conversation

@frewilhelm

Copy link
Copy Markdown
Contributor

What this PR does / why we need it

Use GitHub environments

Signed-off-by: Frederic Wilhelm <frederic.wilhelm@sap.com>
@frewilhelm frewilhelm requested a review from a team as a code owner May 29, 2026 08:02
@netlify

netlify Bot commented May 29, 2026

Copy link
Copy Markdown

Deploy Preview for ocm-website canceled.

Name Link
🔨 Latest commit 5962e53
🔍 Latest deploy log https://app.netlify.com/projects/ocm-website/deploys/6a1948fe72f2c5000802c365

@github-actions github-actions Bot added the kind/chore chore, maintenance, etc. label May 29, 2026
@coderabbitai

coderabbitai Bot commented May 29, 2026

Copy link
Copy Markdown
Contributor

Review Change Stack

No actionable comments were generated in the recent review. 🎉

ℹ️ Recent review info
⚙️ Run configuration

Configuration used: Organization UI

Review profile: CHILL

Plan: Pro

Run ID: 9aeb7354-768a-4760-bcf9-2cd06cfdc021

📥 Commits

Reviewing files that changed from the base of the PR and between cafbb05 and ae387df.

📒 Files selected for processing (7)
  • .github/workflows/release-branch.yml
  • .github/workflows/release.yml
  • .github/workflows/renovate.yml
  • .github/workflows/sprint-hygiene.yaml
  • .github/workflows/website-manual-update-cli-docs.yaml
  • .github/workflows/website-publish-site.yaml
  • .github/workflows/website-update-cli-docs.yaml

📝 Walkthrough

Walkthrough

Seven GitHub Actions workflows now declare explicit environment configurations at the job level. Release-related jobs declare environment: release, while automation jobs declare environment: automation. All deployments are set to false, disabling GitHub's deployment tracking.

Changes

GitHub Actions Workflow Environment Configuration

Layer / File(s) Summary
Release pipeline environment configuration
.github/workflows/release-branch.yml, .github/workflows/release.yml, .github/workflows/website-manual-update-cli-docs.yaml, .github/workflows/website-publish-site.yaml, .github/workflows/website-update-cli-docs.yaml
Jobs in release workflows (create-release-branch, tag_rc, promote_and_release_final, create_website_update_pr, retrigger, publish-site, generate-cli-reference) now declare environment: release with deployment: false for environment-based protection rules.
Automation workflow environment configuration
.github/workflows/renovate.yml, .github/workflows/sprint-hygiene.yaml
Automation jobs (renovate and update-expired-sprints) now declare environment: automation with deployment: false for environment-based protection rules.

Estimated code review effort

🎯 1 (Trivial) | ⏱️ ~3 minutes

Possibly related PRs

Suggested labels

kind/chore, component/github-actions, size/s

Suggested reviewers

  • morri-son
  • jakobmoellerdev
  • fabianburth

Poem

🐰 Hopping through the workflows with glee,
Environments declared for all to see,
Release and automation, neatly aligned,
Protection rules in place, none left behind!

🚥 Pre-merge checks | ✅ 5
✅ Passed checks (5 passed)
Check name Status Explanation
Title check ✅ Passed The title 'chore: use github environments' clearly and concisely describes the main change: adding GitHub Actions environment configurations to multiple workflow files.
Description check ✅ Passed The description 'Use GitHub environments' is directly related to the changeset, which adds GitHub Actions environment blocks to seven workflow files.
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check.
Linked Issues check ✅ Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check ✅ Passed Check skipped because no linked issues were found for this pull request.

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

✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

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

@github-actions github-actions Bot added size/s Small component/github-actions Changes on GitHub Actions or within `.github/` directory labels May 29, 2026
@frewilhelm frewilhelm merged commit f33d336 into open-component-model:main May 29, 2026
22 checks passed
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/s Small

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants