@biffo/cli 0.232.0 → 0.232.1

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.
Files changed (2) hide show
  1. package/dist/index.js +4 -1
  2. package/package.json +1 -1
package/dist/index.js CHANGED
@@ -7862,7 +7862,10 @@ async function createAndPushStandaloneRepo(org, names, destDir, options, deps) {
7862
7862
  reason: `No status-check contexts could be derived from ${ciPath}, so there was nothing to require. Protection with an empty context list reads as configured while admitting every PR, so none was applied.`
7863
7863
  });
7864
7864
  } else {
7865
- await github.protectSingleBranch(org, names.dist, "dev", contexts);
7865
+ const outcome = await github.protectSingleBranch(org, names.dist, "dev", contexts);
7866
+ if (outcome.status === "applied") {
7867
+ await github.sealBranchProtection(org, names.dist, ["dev"]);
7868
+ }
7866
7869
  }
7867
7870
  if (options.register !== false) {
7868
7871
  await registerInRegistrySources(names, cloneUrl, token, deps);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@biffo/cli",
3
- "version": "0.232.0",
3
+ "version": "0.232.1",
4
4
  "description": "Biffo project scaffolding CLI",
5
5
  "license": "MIT",
6
6
  "type": "module",