github: add "website" label if "json" changed (#11975)

This commit is contained in:
CanbiZ (MickLesk)
2026-02-16 10:51:49 +01:00
committed by GitHub
parent c5c6e660ba
commit 34db7c652f

3
.github/workflows/autolabeler.yml generated vendored
View File

@@ -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");
}
}