From 7994112a67cecf67153e4babbb2e74d1d3fd5f39 Mon Sep 17 00:00:00 2001 From: Xianpeng Shen <3353385+shenxianpeng@users.noreply.github.com> Date: Fri, 16 Oct 2026 18:35:52 +0000 Subject: [PATCH 1/2] chore: keep chore and semver labels off Dependabot pull requests - PR Labeler skips pull requests opened by Dependabot. Their titles start with chore(deps), so the autolabeler added chore on top of Dependabot's own dependencies and ecosystem labels. - Dependabot here gets explicit labels; left to its defaults it also applies a major, minor or patch label when the repository has one. --- .github/dependabot.yml | 3 +++ .github/workflows/pr-labeler.yml | 4 ++++ 2 files changed, 7 insertions(+) diff --git a/.github/dependabot.yml b/.github/dependabot.yml index bf9f260..dbc5451 100644 --- a/.github/dependabot.yml +++ b/.github/dependabot.yml @@ -13,8 +13,11 @@ updates: commit-message: prefix: chore include: scope + # Explicit labels replace Dependabot's defaults, which include a + # major/minor/patch label whenever the repository has one. labels: - "dependencies" + - "github_actions" groups: github-actions: patterns: diff --git a/.github/workflows/pr-labeler.yml b/.github/workflows/pr-labeler.yml index f38aad7..d357dc7 100644 --- a/.github/workflows/pr-labeler.yml +++ b/.github/workflows/pr-labeler.yml @@ -9,6 +9,10 @@ concurrency: jobs: label_pr: + # Dependabot labels its own pull requests (dependencies plus the + # ecosystem). Its titles start with chore(deps), which would add chore on + # top, so leave them alone. + if: github.event.pull_request.user.login != 'dependabot[bot]' permissions: # write permission is required for autolabeler pull-requests: write From ce15f9daef55ac345c7410215b8cbc48abd6838e Mon Sep 17 00:00:00 2001 From: Xianpeng Shen <3353385+shenxianpeng@users.noreply.github.com> Date: Fri, 16 Oct 2026 18:47:52 +0000 Subject: [PATCH 2/2] chore: drop the Dependabot labels change Explicit labels do not stop Dependabot's semver labels, so the setting only repeated the defaults. A skip-release label in the repositories that have major, minor and patch labels handles that instead. --- .github/dependabot.yml | 3 --- 1 file changed, 3 deletions(-) diff --git a/.github/dependabot.yml b/.github/dependabot.yml index dbc5451..bf9f260 100644 --- a/.github/dependabot.yml +++ b/.github/dependabot.yml @@ -13,11 +13,8 @@ updates: commit-message: prefix: chore include: scope - # Explicit labels replace Dependabot's defaults, which include a - # major/minor/patch label whenever the repository has one. labels: - "dependencies" - - "github_actions" groups: github-actions: patterns: