From ab59037ba1524c2c19022a7f3e79913b9ef7dd10 Mon Sep 17 00:00:00 2001 From: Lucas Iriarte Date: Fri, 1 May 2026 00:36:13 -0300 Subject: [PATCH] fix(ci): skip pr-title workflow on dependabot PRs MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Dependabot genera PR titles con la primera letra del subject capitalizada (ej. "Bump the backend-minor-patch group with 8 updates"), lo cual rompe nuestro subjectPattern `^(?![A-Z]).+$` de pr-title.yml. Falsos negativos en los 3 backend Dependabot PRs (#39, #40, #41) lo evidenciaron. Los commits internos de Dependabot SÍ siguen Conventional Commits ("build(deps): bump foo from X to Y"), así que pasan commits.yml y alimentan changelog.yml correctamente. Sólo el PR title display difiere. Skipear el actor dependabot[bot] mantiene la regla estricta para PRs humanas (donde el title se vuelve commit en Squash y queremos que sea CC válido) y evita el falso negativo en bots. --- .github/workflows/pr-title.yml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/.github/workflows/pr-title.yml b/.github/workflows/pr-title.yml index 4df5837..f832b74 100644 --- a/.github/workflows/pr-title.yml +++ b/.github/workflows/pr-title.yml @@ -20,6 +20,12 @@ jobs: validate: name: Validate PR title runs-on: ubuntu-latest + # Dependabot genera PR titles con la primera letra del subject capitalizada + # ("Bump foo from X to Y") que rompe el subjectPattern de abajo. Sus + # commits internamente sí siguen Conventional Commits (build(deps): bump...); + # el problema es sólo el title. Skipear el actor evita falsos negativos + # sin debilitar la regla para PRs humanas. + if: github.actor != 'dependabot[bot]' steps: - uses: amannn/action-semantic-pull-request@v5 env: