Fix cwd
This commit is contained in:
committed by
pullfrog[bot]
parent
3fa309853b
commit
0fa789c3e2
+2
-2
@@ -138416,7 +138416,7 @@ var Inputs = type({
|
|||||||
"comment_id?": "number|null",
|
"comment_id?": "number|null",
|
||||||
"issue_id?": "number|null",
|
"issue_id?": "number|null",
|
||||||
"pr_id?": "number|null",
|
"pr_id?": "number|null",
|
||||||
"cwd?": "string"
|
"cwd?": "string|null"
|
||||||
});
|
});
|
||||||
async function main(inputs) {
|
async function main(inputs) {
|
||||||
var _stack2 = [];
|
var _stack2 = [];
|
||||||
@@ -138815,7 +138815,7 @@ async function run() {
|
|||||||
comment_id: payloadObj.comment_id,
|
comment_id: payloadObj.comment_id,
|
||||||
issue_id: payloadObj.issue_id,
|
issue_id: payloadObj.issue_id,
|
||||||
pr_id: payloadObj.pr_id,
|
pr_id: payloadObj.pr_id,
|
||||||
cwd: core4.getInput("cwd") || void 0
|
cwd: core4.getInput("cwd") || null
|
||||||
});
|
});
|
||||||
const result = await main(inputs);
|
const result = await main(inputs);
|
||||||
if (!result.success) {
|
if (!result.success) {
|
||||||
|
|||||||
+1
-1
@@ -38,7 +38,7 @@ async function run(): Promise<void> {
|
|||||||
comment_id: payloadObj.comment_id,
|
comment_id: payloadObj.comment_id,
|
||||||
issue_id: payloadObj.issue_id,
|
issue_id: payloadObj.issue_id,
|
||||||
pr_id: payloadObj.pr_id,
|
pr_id: payloadObj.pr_id,
|
||||||
cwd: core.getInput("cwd") || undefined,
|
cwd: core.getInput("cwd") || null,
|
||||||
});
|
});
|
||||||
|
|
||||||
const result = await main(inputs);
|
const result = await main(inputs);
|
||||||
|
|||||||
@@ -138416,7 +138416,7 @@ var Inputs = type({
|
|||||||
"comment_id?": "number|null",
|
"comment_id?": "number|null",
|
||||||
"issue_id?": "number|null",
|
"issue_id?": "number|null",
|
||||||
"pr_id?": "number|null",
|
"pr_id?": "number|null",
|
||||||
"cwd?": "string"
|
"cwd?": "string|null"
|
||||||
});
|
});
|
||||||
async function main(inputs) {
|
async function main(inputs) {
|
||||||
var _stack2 = [];
|
var _stack2 = [];
|
||||||
@@ -138796,7 +138796,7 @@ async function run() {
|
|||||||
const inputs = Inputs.assert({
|
const inputs = Inputs.assert({
|
||||||
prompt: core4.getInput("prompt", { required: true }),
|
prompt: core4.getInput("prompt", { required: true }),
|
||||||
effort: core4.getInput("effort") || "think",
|
effort: core4.getInput("effort") || "think",
|
||||||
cwd: core4.getInput("cwd") || void 0
|
cwd: core4.getInput("cwd") || null
|
||||||
});
|
});
|
||||||
const result = await main(inputs);
|
const result = await main(inputs);
|
||||||
if (!result.success) {
|
if (!result.success) {
|
||||||
|
|||||||
@@ -12,7 +12,7 @@ async function run(): Promise<void> {
|
|||||||
const inputs = Inputs.assert({
|
const inputs = Inputs.assert({
|
||||||
prompt: core.getInput("prompt", { required: true }),
|
prompt: core.getInput("prompt", { required: true }),
|
||||||
effort: core.getInput("effort") || "think",
|
effort: core.getInput("effort") || "think",
|
||||||
cwd: core.getInput("cwd") || undefined,
|
cwd: core.getInput("cwd") || null,
|
||||||
});
|
});
|
||||||
|
|
||||||
const result = await main(inputs);
|
const result = await main(inputs);
|
||||||
|
|||||||
@@ -33,7 +33,7 @@ export const Inputs = type({
|
|||||||
"comment_id?": "number|null",
|
"comment_id?": "number|null",
|
||||||
"issue_id?": "number|null",
|
"issue_id?": "number|null",
|
||||||
"pr_id?": "number|null",
|
"pr_id?": "number|null",
|
||||||
"cwd?": "string",
|
"cwd?": "string|null",
|
||||||
});
|
});
|
||||||
|
|
||||||
export type Inputs = typeof Inputs.infer;
|
export type Inputs = typeof Inputs.infer;
|
||||||
|
|||||||
@@ -138416,7 +138416,7 @@ var Inputs = type({
|
|||||||
"comment_id?": "number|null",
|
"comment_id?": "number|null",
|
||||||
"issue_id?": "number|null",
|
"issue_id?": "number|null",
|
||||||
"pr_id?": "number|null",
|
"pr_id?": "number|null",
|
||||||
"cwd?": "string"
|
"cwd?": "string|null"
|
||||||
});
|
});
|
||||||
async function main(inputs) {
|
async function main(inputs) {
|
||||||
var _stack2 = [];
|
var _stack2 = [];
|
||||||
@@ -138798,7 +138798,7 @@ async function run() {
|
|||||||
effort: core4.getInput("effort") || "think",
|
effort: core4.getInput("effort") || "think",
|
||||||
agent: core4.getInput("agent") || null,
|
agent: core4.getInput("agent") || null,
|
||||||
sandbox: core4.getInput("sandbox") === "true" ? true : void 0,
|
sandbox: core4.getInput("sandbox") === "true" ? true : void 0,
|
||||||
cwd: core4.getInput("cwd") || void 0
|
cwd: core4.getInput("cwd") || null
|
||||||
});
|
});
|
||||||
const result = await main(inputs);
|
const result = await main(inputs);
|
||||||
if (!result.success) {
|
if (!result.success) {
|
||||||
|
|||||||
+1
-1
@@ -14,7 +14,7 @@ async function run(): Promise<void> {
|
|||||||
effort: core.getInput("effort") || "think",
|
effort: core.getInput("effort") || "think",
|
||||||
agent: core.getInput("agent") || null,
|
agent: core.getInput("agent") || null,
|
||||||
sandbox: core.getInput("sandbox") === "true" ? true : undefined,
|
sandbox: core.getInput("sandbox") === "true" ? true : undefined,
|
||||||
cwd: core.getInput("cwd") || undefined,
|
cwd: core.getInput("cwd") || null,
|
||||||
});
|
});
|
||||||
|
|
||||||
const result = await main(inputs);
|
const result = await main(inputs);
|
||||||
|
|||||||
Reference in New Issue
Block a user