github: add "website" label if "json" changed

This commit is contained in:
CanbiZ (MickLesk)
2026-02-16 08:53:15 +01:00
committed by GitHub
parent d7fbbbde0f
commit edce82a859

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