whisper-money/.github/workflows
Víctor Falcón c0816f9633
ci: gate PR titles via the required linter job (#671)
## Problem

The standalone `pr-title.yml` workflow produced a `Conventional PR
title` status check, but that context was **not** in `main`'s
branch-protection required list (`tests`, `linter`, `static-analysis`,
`browser-tests`, `performance-tests`). Auto-merge only waits on required
checks, so a **failing** title check never blocked a merge — which is
exactly what happened.

## Fix

Fold the same validation into the `linter` job, which is already a
required check. A bad PR title now fails `linter` → blocks the merge
(and auto-merge waits). The standalone workflow is removed as redundant.

Since required checks live in branch protection (not in the repo — no
config-as-code here), hanging the validation off an already-required job
is the only way to enforce it via a PR.

## Trade-off

The title re-validates on `push`/`synchronize` rather than on the
`edited` event, so correcting a bad title after opening a PR needs a new
push (a re-run won't pick up the edited title). Acceptable for the
simpler, single-mechanism setup.
2026-07-12 17:04:31 +00:00
..
ci.yml ci: gate PR titles via the required linter job (#671) 2026-07-12 17:04:31 +00:00
release.yml ci(release): schedule weekly release every Monday at 10:00 Madrid (#649) 2026-07-06 10:02:12 +00:00