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