ci: run quality checks on pushes to main

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>
This commit is contained in:
Alex Verkhovsky 2026-03-15 18:15:05 -06:00
parent 45d125f3b5
commit 082abc1a17
1 changed files with 3 additions and 1 deletions

View File

@ -1,6 +1,6 @@
name: Quality & Validation
# Runs comprehensive quality checks on all PRs:
# Runs comprehensive quality checks on all PRs and pushes to main:
# - Prettier (formatting)
# - ESLint (linting)
# - markdownlint (markdown quality)
@ -10,6 +10,8 @@ name: Quality & Validation
# Keep this workflow aligned with `npm run quality` in `package.json`.
"on":
push:
branches: [main]
pull_request:
branches: ["**"]
workflow_dispatch: