mirror of
https://github.com/community-scripts/ProxmoxVE.git
synced 2026-05-13 12:15:03 +00:00
github: add "website" label if "json" changed (#11975)
This commit is contained in:
committed by
GitHub
parent
c5c6e660ba
commit
34db7c652f
Generated
+2
-1
@@ -100,7 +100,8 @@ jobs:
|
|||||||
// If it's an update script PR with json changes and a content label, skip adding website/json
|
// 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
|
// The PR should be categorized as update script with the content label
|
||||||
if (!(hasUpdateScript && hasJson && hasContentLabel)) {
|
if (!(hasUpdateScript && hasJson && hasContentLabel)) {
|
||||||
labelsToAdd.add(hasJson ? "json" : "website");
|
labelsToAdd.add("website");
|
||||||
|
if (hasJson) labelsToAdd.add("json");
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user