@postman/sdk-config 0.13.0 → 0.14.0

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.
@@ -1278,7 +1278,8 @@ function githubOutput(value, publishInfo, rawOutput, language, sourcePath, state
1278
1278
  const reviewers = mapReviewers(value.reviewers, [...sourcePath, "reviewers"], state);
1279
1279
  if (type) consume(state, [...sourcePath, "type"]);
1280
1280
  if (typeof value.makePr === "boolean") consume(state, [...sourcePath, "makePr"]);
1281
- if (value.workflows === true) consume(state, [...sourcePath, "workflows"]);
1281
+ const workflows = typeof value.workflows === "boolean" ? value.workflows : void 0;
1282
+ if (workflows !== void 0) consume(state, [...sourcePath, "workflows"]);
1282
1283
  if (stringValue(value.host)) consume(state, [...sourcePath, "host"]);
1283
1284
  if (stringValue(value.branch)) consume(state, [...sourcePath, "branch"]);
1284
1285
  consumeCredentialObject(value.credentials, [...sourcePath, "credentials"], state);
@@ -1298,7 +1299,8 @@ function githubOutput(value, publishInfo, rawOutput, language, sourcePath, state
1298
1299
  ...optional("host", stringValue(value.host)),
1299
1300
  ...optional("branch", stringValue(value.branch)),
1300
1301
  mode: value.makePr === true || type === "pullRequest" ? "pull-request" : type === "push" ? "push" : "release",
1301
- ...optional("reviewers", reviewers)
1302
+ ...optional("reviewers", reviewers),
1303
+ ...workflows === false ? { workflows } : {}
1302
1304
  },
1303
1305
  ...publication ? { publish: publication.publish } : {}
1304
1306
  },
@@ -2408,7 +2410,10 @@ var githubOutputSchema = zod.z.strictObject({
2408
2410
  mode: zod.z.enum(["release", "pull-request", "push", "commit", "commit-and-release"]).optional().describe("How generated changes are delivered to the repository."),
2409
2411
  reviewers: reviewersSchema.optional().describe("Reviewers requested for generated pull requests."),
2410
2412
  credentials: githubCredentialsSchema.optional().describe("Credentials used to authenticate GitHub delivery."),
2411
- privateRepository: zod.z.boolean().optional().describe("Whether the destination repository is private.")
2413
+ privateRepository: zod.z.boolean().optional().describe("Whether the destination repository is private."),
2414
+ workflows: zod.z.boolean().optional().describe(
2415
+ "Whether generated .github/workflows files are delivered. Defaults to true. When false, newly generated workflow files are skipped and existing ones in the repository are left untouched."
2416
+ )
2412
2417
  });
2413
2418
  var filesOutputSchema = zod.z.strictObject({
2414
2419
  delivery: zod.z.literal("files").describe("Writes the generated SDK to a directory."),