Skip to content

chore: use correct gh environment#2684

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

chore: use correct gh environment#2684
frewilhelm merged 3 commits into
open-component-model:mainfrom
frewilhelm:fix-gha-environments

Conversation

@frewilhelm

Copy link
Copy Markdown
Contributor

What this PR does / why we need it

Use automation environment instead of release environment

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:41
@netlify

netlify Bot commented May 29, 2026

Copy link
Copy Markdown

Deploy Preview for ocm-website canceled.

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

@github-actions github-actions Bot added the size/s Small 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: 32c510de-97eb-48c1-9f19-430aae6281ce

📥 Commits

Reviewing files that changed from the base of the PR and between f6930ce and 9c0b058.

📒 Files selected for processing (6)
  • .github/workflows/release-branch.yml
  • .github/workflows/release.yml
  • .github/workflows/stale.yaml
  • .github/workflows/website-manual-update-cli-docs.yaml
  • .github/workflows/website-publish-site.yaml
  • .github/workflows/website-update-cli-docs.yaml
💤 Files with no reviewable changes (1)
  • .github/workflows/stale.yaml

📝 Walkthrough

Walkthrough

Six GitHub Actions workflows are updated to change job environment names from release to automation across release, documentation publishing, and CLI documentation update processes. The stale workflow also removes an unused inputs: configuration block from its workflow_dispatch trigger.

Changes

GitHub Actions Environment Migration

Layer / File(s) Summary
Release and documentation job environment updates
.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
Six jobs transition their environment name from release to automation: the release-branch creation job, RC tagging job, final promotion/release job, website PR update job, CLI documentation jobs, and website publishing job.
Stale workflow trigger cleanup
.github/workflows/stale.yaml
The empty inputs: block under workflow_dispatch is removed, leaving only the trigger declaration without input parameters.

Estimated code review effort

🎯 1 (Trivial) | ⏱️ ~3 minutes

Possibly related PRs

Suggested reviewers

  • matthiasbruns
  • jakobmoellerdev
  • morri-son

Poem

🐰 Environments shift from release to automation,
Six workflows find their new station,
With cleanup done and config smooth,
The pipelines now have the groove! 🚀

🚥 Pre-merge checks | ✅ 5
✅ Passed checks (5 passed)
Check name Status Explanation
Title check ✅ Passed The title clearly and concisely describes the main change: switching GitHub Actions workflows from the 'release' environment to the 'automation' environment.
Description check ✅ Passed The description directly explains the purpose of the changes, stating the need to use the 'automation' environment instead of the 'release' environment, which aligns with the changeset.
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.

@frewilhelm frewilhelm changed the title use correct gh environment chore: use correct gh environment May 29, 2026
@github-actions github-actions Bot added kind/chore chore, maintenance, etc. component/github-actions Changes on GitHub Actions or within `.github/` directory labels May 29, 2026
@frewilhelm frewilhelm enabled auto-merge (squash) May 29, 2026 08:48
@frewilhelm frewilhelm merged commit 5ca8327 into open-component-model:main May 29, 2026
21 checks passed
ocmbot Bot pushed a commit that referenced this pull request May 29, 2026
<!-- markdownlint-disable MD041 -->
#### What this PR does / why we need it

Use `automation` environment instead of `release` environment

Signed-off-by: Frederic Wilhelm <frederic.wilhelm@sap.com> 5ca8327
skarlso-release-bot Bot pushed a commit to Skarlso/open-component-model that referenced this pull request May 29, 2026
<!-- markdownlint-disable MD041 -->
#### What this PR does / why we need it

Use `automation` environment instead of `release` environment

Signed-off-by: Frederic Wilhelm <frederic.wilhelm@sap.com> 5ca8327
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