From 3102c72ead956b479909c7bf48a81f3f085bd7d7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Val=C3=A9rian=20Rey?= Date: Fri, 6 Mar 2026 15:21:45 +0100 Subject: [PATCH] Improve PR title formatter trigger --- .github/workflows/title-formatter.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.github/workflows/title-formatter.yml b/.github/workflows/title-formatter.yml index 4c564172..3b91e89b 100644 --- a/.github/workflows/title-formatter.yml +++ b/.github/workflows/title-formatter.yml @@ -2,7 +2,7 @@ name: PR Title Formatter on: pull_request_target: - types: [opened, edited, reopened, labeled, unlabeled, synchronize] + types: [opened, edited, reopened, labeled, unlabeled] concurrency: group: ${{ github.workflow }}-${{ github.event.pull_request.number }} @@ -10,6 +10,8 @@ concurrency: jobs: format-title: + # Prevent running the job when only the PR body is edited. + if: github.event.action != 'edited' || github.event.changes.title != null runs-on: ubuntu-latest permissions: pull-requests: write