Skip to content

github: fix branch push configuration#16

Closed
ktdreyer wants to merge 1 commit intoodhfrom
ec2-github-runner-RHAIENG-2487
Closed

github: fix branch push configuration#16
ktdreyer wants to merge 1 commit intoodhfrom
ec2-github-runner-RHAIENG-2487

Conversation

@ktdreyer
Copy link
Copy Markdown

@ktdreyer ktdreyer commented Dec 19, 2025

Rename main to odh. The odh branch is the primary branch in this repository, so we should not configure this job to run on "main".

Remove my ec2-github-runner-RHAIENG-2487 work-in-progress branch from the configuration. Now that we have merged this file, we don't need this in the configuration any more. If we want to run this workflow on other work-in-progress branches, we can add those here at a future time.

Summary by CodeRabbit

  • Chores
    • Updated CI/CD workflow triggers to run on the odh branch only.
    • Adjusted default trigger settings and descriptions so PR/branch and push events now target odh.

✏️ Tip: You can customize this high-level summary in your review settings.

@coderabbitai
Copy link
Copy Markdown

coderabbitai Bot commented Dec 19, 2025

Walkthrough

Updated GitHub Actions workflow triggers in .github/workflows/openshift-docling-e2e.yaml to run PR/branch and push jobs only against the odh branch, removing prior main and ec2-github-runner-RHAIENG-2487 entries.

Changes

Cohort / File(s) Change Summary
Workflow configuration
.github/workflows/openshift-docling-e2e.yaml
Changed default pr_or_branch from main to odh; updated description to reference odh; updated push trigger to only include the odh branch and removed main and ec2-github-runner-RHAIENG-2487.

Estimated code review effort

🎯 2 (Simple) | ⏱️ ~10 minutes

  • Verify trigger syntax and spacing in .github/workflows/openshift-docling-e2e.yaml.
  • Confirm no dependent workflows or deployment processes still expect main or the removed branch names.

Poem

🐰 I nibble at YAML beneath the moonlit nod,
I point the runs straight to the odh sod,
Gone are the branches that cluttered the road,
One tidy trigger now lightens my load. 🥕

Pre-merge checks and finishing touches

✅ 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 'github: fix branch push configuration' directly relates to the main change in the PR: updating workflow triggers from 'main' and 'ec2-github-runner-RHAIENG-2487' branches to only 'odh'.
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check.
✨ Finishing touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Post copyable unit tests in a comment
  • Commit unit tests in branch ec2-github-runner-RHAIENG-2487

📜 Recent review details

Configuration used: defaults

Review profile: CHILL

Plan: Pro

📥 Commits

Reviewing files that changed from the base of the PR and between 04f7f95 and 7ee1c96.

📒 Files selected for processing (1)
  • .github/workflows/openshift-docling-e2e.yaml (1 hunks)
⏰ Context from checks skipped due to timeout of 90000ms. You can increase the timeout in your CodeRabbit configuration to a maximum of 15 minutes (900000ms). (12)
  • GitHub Check: e2e-test (v1.31.4)
  • GitHub Check: e2e-test (v1.29.12)
  • GitHub Check: e2e-test (v1.24.17)
  • GitHub Check: e2e-test (v1.32.0)
  • GitHub Check: e2e-test (v1.27.16)
  • GitHub Check: e2e-test (v1.26.15)
  • GitHub Check: e2e-test (v1.28.15)
  • GitHub Check: e2e-test (v1.25.16)
  • GitHub Check: e2e-test (v1.30.8)
  • GitHub Check: build-spark-operator
  • GitHub Check: build-helm-chart
  • GitHub Check: code-check
🔇 Additional comments (2)
.github/workflows/openshift-docling-e2e.yaml (2)

16-16: LGTM! Push triggers correctly updated.

The change to trigger only on the "odh" branch is appropriate. Removing the "main" branch and the merged WIP branch "ec2-github-runner-RHAIENG-2487" aligns with the PR objectives and is sensible for a resource-intensive workflow.


9-13: LGTM. Changes correctly reference the "odh" default branch.

The update to reference the "odh" branch in both the description (line 9) and default value (line 13) is consistent with the repository's primary branch configuration and PR objectives. The push trigger limitation to "odh" (line 16) is appropriate for this resource-intensive E2E testing workflow.


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.

@ktdreyer
Copy link
Copy Markdown
Author

With this change, this workflow will run every time you push to the odh branch.

Copy link
Copy Markdown

@coderabbitai coderabbitai Bot left a comment

Choose a reason for hiding this comment

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

Actionable comments posted: 0

Caution

Some comments are outside the diff and can’t be posted inline due to platform limitations.

⚠️ Outside diff range comments (1)
.github/workflows/openshift-docling-e2e.yaml (1)

9-13: Update workflow_dispatch defaults to match the primary branch.

The workflow_dispatch input description (line 9) and default value (line 13) still reference "main", but the push trigger now uses "odh" as the primary branch. This inconsistency could confuse users manually triggering the workflow.

🔎 Proposed fix to update references from "main" to "odh"
      # FUTURE USE:
      # Maintainers can provide a PR number or existing upstream branch name to run this
      # job against. If no PR number or branch name is provided, this job will run against
-      # content in the "main" branch instead.
+      # content in the "odh" branch instead.
      pr_or_branch:
        description: "Pull request number or branch name"
        required: true
-        default: "main"
+        default: "odh"
📜 Review details

Configuration used: defaults

Review profile: CHILL

Plan: Pro

📥 Commits

Reviewing files that changed from the base of the PR and between 1a5e57d and 04f7f95.

📒 Files selected for processing (1)
  • .github/workflows/openshift-docling-e2e.yaml (1 hunks)
⏰ Context from checks skipped due to timeout of 90000ms. You can increase the timeout in your CodeRabbit configuration to a maximum of 15 minutes (900000ms). (12)
  • GitHub Check: e2e-test (v1.30.8)
  • GitHub Check: e2e-test (v1.31.4)
  • GitHub Check: e2e-test (v1.32.0)
  • GitHub Check: e2e-test (v1.25.16)
  • GitHub Check: e2e-test (v1.24.17)
  • GitHub Check: e2e-test (v1.26.15)
  • GitHub Check: e2e-test (v1.27.16)
  • GitHub Check: e2e-test (v1.29.12)
  • GitHub Check: e2e-test (v1.28.15)
  • GitHub Check: build-helm-chart
  • GitHub Check: build-spark-operator
  • GitHub Check: code-check
🔇 Additional comments (1)
.github/workflows/openshift-docling-e2e.yaml (1)

16-16: LGTM! Push trigger correctly updated to primary branch.

The change to trigger on the odh branch aligns with the PR objectives, as odh is the repository's primary branch.

Rename "main" to "odh". The "odh" branch is the primary branch in this
repository, so we should not configure this job to run on "main".

Remove my "ec2-github-runner-RHAIENG-2487" work-in-progress branch from
the configuration. Now that we have merged this file, we don't need this
in the configuration any more. If we want to run this workflow on other
work-in-progress branches, we can add those here at a future time.
@ktdreyer ktdreyer force-pushed the ec2-github-runner-RHAIENG-2487 branch from 04f7f95 to 7ee1c96 Compare December 19, 2025 18:38
@shruthis4
Copy link
Copy Markdown

Hi Ken, This is integrated in my #21, so closing this PR

@shruthis4 shruthis4 closed this Jan 7, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants