Skip to content

feat(ci): consolidate PR checks and add /e2e command runner#1994

Open
abhijith-darshan wants to merge 11 commits into
mainfrom
feat/workflow_enhancement
Open

feat(ci): consolidate PR checks and add /e2e command runner#1994
abhijith-darshan wants to merge 11 commits into
mainfrom
feat/workflow_enhancement

Conversation

@abhijith-darshan
Copy link
Copy Markdown
Contributor

@abhijith-darshan abhijith-darshan commented May 19, 2026

Description

What type of PR is this? (check all applicable)

  • 🍕 Feature
  • 🐛 Bug Fix
  • 📝 Documentation Update
  • 🎨 Style
  • 🧑‍💻 Code Refactor
  • 🔥 Performance Improvements
  • ✅ Test
  • 🤖 Build
  • 🔁 CI
  • 📦 Chore (Release)
  • ⏩ Revert

Related Tickets & Documents

Closes #1771

Added tests?

  • 👍 yes
  • 🙅 no, because they aren't needed
  • 🙋 no, because I need help
  • Separate ticket for tests # (issue/pr)

Please describe the tests that you ran to verify your changes. Provide instructions so we can reproduce. Please also list any relevant details for your test configuration

Added to documentation?

  • 📜 README.md
  • 🤝 Documentation pages updated
  • 🙅 no documentation needed
  • (if applicable) generated OpenAPI docs for CRD changes

Checklist

  • My code follows the style guidelines of this project
  • I have performed a self-review of my code
  • I have commented my code, particularly in hard-to-understand areas
  • My changes generate no new warnings
  • New and existing unit tests pass locally with my changes

@abhijith-darshan abhijith-darshan requested a review from a team as a code owner May 19, 2026 00:15
Copilot AI review requested due to automatic review settings May 19, 2026 00:15
@abhijith-darshan abhijith-darshan requested a review from a team as a code owner May 19, 2026 00:15
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Copilot encountered an error and was unable to review this pull request. You can try again by re-requesting a review.

@cloudoperators cloudoperators deleted a comment from github-actions Bot May 19, 2026
Refines test workflows for renovate automerge by collapsing the
fragmented PR pipeline into three required jobs (lint, test, build)
and gating e2e behind explicit `/e2e` PR comments.

- ci-pr.yaml: single PR workflow with paths-filter-driven lint-go,
  lint-generated, lint-charts, lint-license, lint-reuse, test, build;
  checksOK aggregator treats success+skipped as pass for stable
  required-status semantics.
- ci-e2e-info.yaml: posts a per-PR info comment listing relevant
  suites with `/e2e <suite>` examples; auto-comments `/e2e all` on
  renovate PRs so the automerge chain runs unattended.
- ci-e2e-runner.yaml: issue_comment-triggered matrix runner; supports
  `/e2e all`, `/e2e skip`, and explicit suite lists; posts per-suite
  and aggregate `e2eOK` commit statuses on the PR head SHA.
- paths-filters-{ci,e2e}.yaml: split path rules into editable config
  files so suite scoping changes don't require workflow edits.
- ci-e2e-test-nightly.yaml: bump admin cluster to v1.34.3.
- Drop superseded workflows: ci-e2e-test, unit-tests, pr-docker-build,
  helm-lint, kustomize-lint, check-changes-crd-api, license, ci-reuse.

Signed-off-by: abhijith-darshan <abhijith.ravindra@sap.com>
- ci-e2e-info.yaml: auto-comment `/e2e skip` when paths-filter detects
  no relevant suites; auto-comment `/e2e all` (or `/e2e skip`) on
  renovate PRs so the automerge chain runs without human input
- info comment: drop the "no matches" branch (handled by auto-skip),
  drop hardcoded suite list, flatten nested <details> into a single
  collapsible with copyable `/e2e <suite>` blocks per matched suite

Signed-off-by: abhijith-darshan <abhijith.ravindra@sap.com>
@abhijith-darshan abhijith-darshan force-pushed the feat/workflow_enhancement branch from 3a10a8f to a9e1b82 Compare May 19, 2026 00:31
@abhijith-darshan abhijith-darshan changed the title ci(workflows): consolidate PR checks and add /e2e command runner feat(ci): consolidate PR checks and add /e2e command runner May 19, 2026
Signed-off-by: abhijith-darshan <abhijith.ravindra@sap.com>
@abhijith-darshan abhijith-darshan requested a review from a team as a code owner May 19, 2026 00:35
…comment

- ci-pr.yaml: lint-license now grants contents:write at job level so
  the called shared workflow's apply-license-header job (gated by
  apply_header=false at runtime) passes static permission validation
- ci-e2e-info.yaml: flatten the info comment into a header line, one
  collapsible per matched suite, and a single worked example; drop
  the redundant nested details block

Signed-off-by: abhijith-darshan <abhijith.ravindra@sap.com>
- ci-e2e-info.yaml: rename the github-script step to "E2E Info" so the
  Actions UI surfaces something meaningful
- delete any previous bot info comment and always create a fresh one,
  so the comment can't get buried in long review threads (it'll show
  up at the bottom on every push)

Signed-off-by: abhijith-darshan <abhijith.ravindra@sap.com>
Collapse detected suites into a single expandable block and tag
ci-pr.yaml as CC0-1.0 so the unused-license check passes.

Signed-off-by: abhijith-darshan <abhijith.ravindra@sap.com>
Render the detected suites inside the collapsible as a code block of
/e2e <suite> lines so they can be copied directly into a comment.

Signed-off-by: abhijith-darshan <abhijith.ravindra@sap.com>
@cloudoperators cloudoperators deleted a comment from github-actions Bot May 19, 2026
@abhijith-darshan
Copy link
Copy Markdown
Contributor Author

/e2e plugin

Signed-off-by: abhijith-darshan <abhijith.ravindra@sap.com>
@abhijith-darshan
Copy link
Copy Markdown
Contributor Author

/e2e plugin

Signed-off-by: abhijith-darshan <abhijith.ravindra@sap.com>
@abhijith-darshan
Copy link
Copy Markdown
Contributor Author

/e2e plugin

Signed-off-by: abhijith-darshan <abhijith.ravindra@sap.com>
Signed-off-by: abhijith-darshan <abhijith.ravindra@sap.com>
@github-actions
Copy link
Copy Markdown

E2E Info

Detected E2E Suites
/e2e plugin

Comment /e2e all to run all suites.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[FEAT] - Refine test workflows for renovate automerge

2 participants