Skip to content

ci: run quality checks on pushes to main#2015

Merged
alexeyv merged 1 commit intomainfrom
ci/quality-on-push-to-main
Mar 16, 2026
Merged

ci: run quality checks on pushes to main#2015
alexeyv merged 1 commit intomainfrom
ci/quality-on-push-to-main

Conversation

@alexeyv
Copy link
Copy Markdown
Collaborator

@alexeyv alexeyv commented Mar 16, 2026

Summary

  • Add push: branches: [main] trigger to the quality workflow
  • Previously only pull_request events ran CI, so direct pushes to main (including merged PRs) bypassed all quality checks

Test plan

  • Verify the workflow triggers on a push to main after merge
  • Confirm PR-triggered runs still work as before

🤖 Generated with Claude Code

Previously the quality workflow only triggered on pull_request events,
so direct pushes to main (including merged PRs) skipped all CI checks.
Add a push trigger for the main branch so broken builds are caught.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
@augmentcode
Copy link
Copy Markdown

augmentcode Bot commented Mar 16, 2026

🤖 Augment PR Summary

Summary: Extends the Quality & Validation GitHub Actions workflow to run on pushes to main as well as pull_request events.
Why: Ensures merged PRs and direct pushes to main don’t bypass formatting, linting, docs build, and validation checks.

🤖 Was this summary useful? React with 👍 or 👎

Copy link
Copy Markdown

@augmentcode augmentcode Bot left a comment

Choose a reason for hiding this comment

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

Review completed. No suggestions at this time.

Comment augment review to trigger a new review at any time.

@coderabbitai
Copy link
Copy Markdown

coderabbitai Bot commented Mar 16, 2026

No actionable comments were generated in the recent review. 🎉

ℹ️ Recent review info
⚙️ Run configuration

Configuration used: Path: .coderabbit.yaml

Review profile: CHILL

Plan: Pro

Run ID: b1036e43-6a01-432e-9383-0f2232eb8130

📥 Commits

Reviewing files that changed from the base of the PR and between d1163f8 and 082abc1.

📒 Files selected for processing (1)
  • .github/workflows/quality.yaml

📝 Walkthrough

Walkthrough

The GitHub Actions quality workflow configuration is updated to run on pushes to the main branch in addition to pull requests, extending the trigger conditions for the Quality & Validation workflow automation.

Changes

Cohort / File(s) Summary
GitHub Actions Workflow Configuration
.github/workflows/quality.yaml
Added push trigger for the main branch to run the Quality & Validation workflow on direct commits to main, in addition to the existing pull request trigger.

Estimated code review effort

🎯 1 (Trivial) | ⏱️ ~2 minutes

🚥 Pre-merge checks | ✅ 3
✅ Passed checks (3 passed)
Check name Status Explanation
Title check ✅ Passed The title clearly and concisely describes the main change: adding quality checks to run on pushes to the main branch.
Description check ✅ Passed The description is directly related to the changeset, explaining the motivation (quality checks were bypassed on direct pushes to main) and what was added to fix it.
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check.

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

✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Post copyable unit tests in a comment
  • Commit unit tests in branch ci/quality-on-push-to-main
📝 Coding Plan
  • Generate coding plan for human review comments

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.

@alexeyv alexeyv merged commit 0bf6cb3 into main Mar 16, 2026
7 checks passed
@alexeyv alexeyv deleted the ci/quality-on-push-to-main branch March 16, 2026 00:22
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.

1 participant