From 34db7c652f81dfe95665c9d513645ad844023f88 Mon Sep 17 00:00:00 2001 From: "CanbiZ (MickLesk)" <47820557+MickLesk@users.noreply.github.com> Date: Mon, 16 Feb 2026 10:51:49 +0100 Subject: [PATCH] github: add "website" label if "json" changed (#11975) --- .github/workflows/autolabeler.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/autolabeler.yml b/.github/workflows/autolabeler.yml index 50ddb5d14..81f381c55 100644 --- a/.github/workflows/autolabeler.yml +++ b/.github/workflows/autolabeler.yml @@ -100,7 +100,8 @@ jobs: // If it's an update script PR with json changes and a content label, skip adding website/json // The PR should be categorized as update script with the content label if (!(hasUpdateScript && hasJson && hasContentLabel)) { - labelsToAdd.add(hasJson ? "json" : "website"); + labelsToAdd.add("website"); + if (hasJson) labelsToAdd.add("json"); } }