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:
parent
45d125f3b5
commit
082abc1a17
|
|
@ -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:
|
||||
|
|
|
|||
Loading…
Reference in New Issue