actionspack 0.1.3 → 0.1.4

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.
package/dist/cli.mjs CHANGED
@@ -1,11 +1,11 @@
1
1
  #!/usr/bin/env node
2
- import { a as why, f as scan, i as update, l as verify, r as tree, s as pack, t as diff } from "./commands-4KKgssQI.mjs";
2
+ import { a as why, f as scan, i as update, l as verify, r as tree, s as pack, t as diff } from "./commands-BYdfu8Qz.mjs";
3
3
  import { styleText } from "node:util";
4
4
  import process from "node:process";
5
5
  import { cac } from "cac";
6
6
  //#region package.json
7
7
  var name = "actionspack";
8
- var version = "0.1.3";
8
+ var version = "0.1.4";
9
9
  //#endregion
10
10
  //#region src/cli.ts
11
11
  const cli = cac(name);
@@ -586,7 +586,7 @@ var HttpGitHubClient = class {
586
586
  ref
587
587
  ];
588
588
  for (const candidate of candidates) {
589
- const sha = (await this.#request(`/repos/${owner}/${repo}/git/ref/${candidate}`))?.object?.sha;
589
+ const sha = (await this.#request(`/repos/${owner}/${repo}/git/ref/${candidate}`, true))?.object?.sha;
590
590
  if (sha) return sha;
591
591
  }
592
592
  throw new Error(`Unable to resolve ${owner}/${repo}@${ref}`);
package/dist/index.mjs CHANGED
@@ -1,2 +1,2 @@
1
- import { a as why, c as packWorkflow, d as collectWorkflowDependencies, f as scan, i as update, l as verify, n as diffLockfiles, o as assertNoRemoteUses, r as tree, s as pack, t as diff, u as collectStepDependencies } from "./commands-4KKgssQI.mjs";
1
+ import { a as why, c as packWorkflow, d as collectWorkflowDependencies, f as scan, i as update, l as verify, n as diffLockfiles, o as assertNoRemoteUses, r as tree, s as pack, t as diff, u as collectStepDependencies } from "./commands-BYdfu8Qz.mjs";
2
2
  export { assertNoRemoteUses, collectStepDependencies, collectWorkflowDependencies, diff, diffLockfiles, pack, packWorkflow, scan, tree, update, verify, why };
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "actionspack",
3
3
  "type": "module",
4
- "version": "0.1.3",
4
+ "version": "0.1.4",
5
5
  "description": "Lockfile-first GitHub Actions workflow packer",
6
6
  "author": "Kevin Deng <sxzz@sxzz.moe>",
7
7
  "license": "MIT",