@blogic-cz/agent-tools 0.14.21 → 0.14.23
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/package.json +1 -1
- package/src/gh-tool/pr/core.ts +3 -2
- package/src/gh-tool/types.ts +4 -0
package/package.json
CHANGED
package/src/gh-tool/pr/core.ts
CHANGED
|
@@ -8,6 +8,7 @@ import type {
|
|
|
8
8
|
MergeResult,
|
|
9
9
|
MergeStrategy,
|
|
10
10
|
PRInfo,
|
|
11
|
+
PRViewInfo,
|
|
11
12
|
WorkflowRunDetail,
|
|
12
13
|
} from "#gh/types";
|
|
13
14
|
|
|
@@ -243,9 +244,9 @@ export const viewPR = Effect.fn("pr.viewPR")(function* (prNumber: number | null)
|
|
|
243
244
|
if (prNumber !== null) {
|
|
244
245
|
args.push(String(prNumber));
|
|
245
246
|
}
|
|
246
|
-
args.push("--json", "number,url,title,headRefName,baseRefName,state,isDraft,mergeable");
|
|
247
|
+
args.push("--json", "number,url,title,headRefName,baseRefName,state,isDraft,mergeable,body");
|
|
247
248
|
|
|
248
|
-
const info = yield* gh.runGhJson<
|
|
249
|
+
const info = yield* gh.runGhJson<PRViewInfo>(args);
|
|
249
250
|
return info;
|
|
250
251
|
});
|
|
251
252
|
|
package/src/gh-tool/types.ts
CHANGED