@aspruyt/xfg 8.5.5 → 8.5.6

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -141,6 +141,8 @@ function mergeLabels(rootLabels, repoLabels) {
141
141
  const repoLabel = repo[name];
142
142
  if (repoLabel === false)
143
143
  continue;
144
+ if (rootLabel === false && !repoLabel)
145
+ continue;
144
146
  if (!inheritLabels && !repoLabel && rootLabel)
145
147
  continue;
146
148
  const base = rootLabel && typeof rootLabel === "object" ? rootLabel : {};
@@ -324,7 +326,7 @@ export function mergeSettings(root, perRepo) {
324
326
  for (const name of allRulesetNames) {
325
327
  const rootRuleset = rootRulesets[name];
326
328
  const repoRuleset = repoRulesets[name];
327
- if (repoRuleset === false) {
329
+ if (repoRuleset === false || (rootRuleset === false && !repoRuleset)) {
328
330
  continue;
329
331
  }
330
332
  if (!inheritRulesets && !repoRuleset && rootRuleset) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aspruyt/xfg",
3
- "version": "8.5.5",
3
+ "version": "8.5.6",
4
4
  "description": "Manage files, settings, and repositories across GitHub, Azure DevOps, and GitLab — declaratively, from a single YAML config",
5
5
  "type": "module",
6
6
  "main": "dist/index.js",