mirror of
https://github.com/community-scripts/ProxmoxVE.git
synced 2026-02-17 16:07:45 +01:00
github: add "website" label if "json" changed (#11975)
This commit is contained in:
committed by
GitHub
parent
c5c6e660ba
commit
34db7c652f
3
.github/workflows/autolabeler.yml
generated
vendored
3
.github/workflows/autolabeler.yml
generated
vendored
@@ -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");
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user