Skip to content

ci: stop re-running validation workflows on push to main#834

Merged
mangelajo merged 1 commit into
mainfrom
ci/remove-push-validation
Jun 24, 2026
Merged

ci: stop re-running validation workflows on push to main#834
mangelajo merged 1 commit into
mainfrom
ci/remove-push-validation

Conversation

@mangelajo

@mangelajo mangelajo commented Jun 23, 2026

Copy link
Copy Markdown
Member

Problem

Every merge to main re-runs all validation workflows (e2e tests, linters, python tests) even though the merge queue already validated them. This wastes CI resources and clutters the commit status.

Changes

Remove push triggers from validation-only workflows:

Workflow Was triggered on push? Action
e2e.yaml push: main Removed — validation only
lint.yaml push: main, release-* Removed — validation only
python-tests.yaml push: main, release-* Removed — validation only

What still runs on push to main

These workflows perform release/deploy actions that can only happen after merge:

Workflow Purpose
build-images.yaml Builds + pushes container images to quay.io with latest tag
documentation.yaml Deploys docs to GitHub Pages
trigger-packages.yaml Triggers package index rebuild

Safety net

All three validation workflows retain workflow_dispatch for manual runs if needed. The merge queue provides full validation coverage before any code reaches main.

The merge queue already validates everything before merging. Remove
push-to-main triggers from validation-only workflows:

- e2e.yaml: e2e tests + compat tests (validation)
- lint.yaml: Go/Python/protobuf linters + typos (validation)
- python-tests.yaml: pytest matrix across versions/OSes (validation)

Workflows that remain on push to main are release/deploy actions:
- build-images.yaml: builds + pushes container images to quay.io
- documentation.yaml: deploys docs to GitHub Pages
- trigger-packages.yaml: triggers package index rebuild

All three validation workflows retain workflow_dispatch for manual runs.
@coderabbitai

coderabbitai Bot commented Jun 23, 2026

Copy link
Copy Markdown
Contributor

Warning

Review limit reached

@mangelajo, we couldn't start this review because you've reached your PR review rate limit.

More reviews will be available in 16 minutes and 30 seconds. Learn how PR review limits work.

Your organization has used up its prepaid credits, and credit purchases are no longer available. Enable the review add-on in the billing tab to keep reviews running — you're only billed for reviews past your plan's rate limits ($0.25/file).

⌛ How to resolve this issue?

After more reviews become available, a review can be triggered using the @coderabbitai review command as a PR comment. Alternatively, push new commits to this PR.

To avoid repeated limits, reduce automatic review volume by pausing incremental auto-reviews earlier, using label-based review opt-in, excluding WIP or generated PR titles, or requesting reviews manually when the PR is ready. If your team needs uninterrupted high-volume reviews, an organization admin can enable usage-based credits.

🚦 How do rate limits work?

CodeRabbit enforces per-developer PR review limits for each organization. Most developers receive the normal plan refill rate.

For paid Pro and Pro+ PR reviews, CodeRabbit uses rolling per-developer review limits. Reviews become available again as older review attempts age out of the rolling limit window.

Please see our Fair Usage Limits Policy for further information.

ℹ️ Review info
⚙️ Run configuration

Configuration used: Organization UI

Review profile: CHILL

Plan: Pro

Run ID: 64840768-6068-496d-ad5a-11c59487080d

📥 Commits

Reviewing files that changed from the base of the PR and between b38ff9a and c065f7c.

📒 Files selected for processing (3)
  • .github/workflows/e2e.yaml
  • .github/workflows/lint.yaml
  • .github/workflows/python-tests.yaml
✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch ci/remove-push-validation

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.

@mangelajo mangelajo enabled auto-merge June 23, 2026 20:48
@mangelajo mangelajo requested a review from kirkbrauer June 23, 2026 21:11

@raballew raballew left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

I think it looks good.

@mangelajo mangelajo added this pull request to the merge queue Jun 24, 2026
Merged via the queue into main with commit f9d6f93 Jun 24, 2026
21 checks passed
@mangelajo mangelajo deleted the ci/remove-push-validation branch June 24, 2026 06:05
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