From 6ab7032f70f86b7b611b38e77baa145a68d8f7cf Mon Sep 17 00:00:00 2001 From: Yasunobu <42543015+P4suta@users.noreply.github.com> Date: Wed, 20 May 2026 00:55:37 +0900 Subject: [PATCH] chore(deps): pin dependabot commit-message prefix to build(deps) Without an explicit prefix, dependabot emits commit headlines like `Bump xxx from y to z` which trip subject-empty / type-empty in @commitlint/config-conventional. The `conventional commits` CI gate (wagoid/commitlint-github-action) then fails every dependabot PR out of the gate. Wiring `commit-message.prefix: "build(deps)"` into each ecosystem entry makes dependabot use `build(deps): bump ...` headlines instead, which satisfies the conventional-commits rule without rewriting bot-authored history. Co-Authored-By: Claude Opus 4.7 (1M context) --- .github/dependabot.yml | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/.github/dependabot.yml b/.github/dependabot.yml index e879252..5ae8017 100644 --- a/.github/dependabot.yml +++ b/.github/dependabot.yml @@ -2,6 +2,12 @@ version: 2 # Dependabot is the only allowed scheduled job (memory: feedback_no_cron_in_repos). # Bumps NuGet weekly; bumps GitHub Actions weekly to the latest SHA pin. +# +# Every entry pins commit-message.prefix to "build(deps)" so the +# `conventional commits` CI gate (wagoid/commitlint-github-action against +# @commitlint/config-conventional) accepts dependabot-authored commits +# without manual rewrites. Without this prefix, dependabot emits +# `Bump xxx from y to z` headlines which fail subject-empty / type-empty. updates: - package-ecosystem: nuget @@ -9,6 +15,8 @@ updates: schedule: interval: weekly open-pull-requests-limit: 10 + commit-message: + prefix: "build(deps)" groups: analyzers: patterns: @@ -29,12 +37,16 @@ updates: schedule: interval: weekly open-pull-requests-limit: 5 + commit-message: + prefix: "build(deps)" - package-ecosystem: npm directory: "/" schedule: interval: weekly open-pull-requests-limit: 5 + commit-message: + prefix: "build(deps)" groups: commitlint: patterns: @@ -45,3 +57,5 @@ updates: schedule: interval: weekly open-pull-requests-limit: 5 + commit-message: + prefix: "build(deps)"