mirror of
https://github.com/harivansh-afk/sandbox-agent.git
synced 2026-04-20 15:01:26 +00:00
Fix Foundry validation fallout
This commit is contained in:
parent
13fc9cb318
commit
aa332307e5
11 changed files with 25 additions and 7 deletions
|
|
@ -138,6 +138,7 @@ function pullRequestSummaryFromRow(row: any) {
|
|||
repoId: row.repoId,
|
||||
repoFullName: row.repoFullName,
|
||||
number: row.number,
|
||||
status: Boolean(row.isDraft) ? "draft" : "ready",
|
||||
title: row.title,
|
||||
state: row.state,
|
||||
url: row.url,
|
||||
|
|
|
|||
|
|
@ -1089,6 +1089,7 @@ export const organizationAppActions = {
|
|||
},
|
||||
pullRequest: {
|
||||
number: body.pull_request.number,
|
||||
status: body.pull_request.draft ? "draft" : "ready",
|
||||
title: body.pull_request.title ?? "",
|
||||
body: body.pull_request.body ?? null,
|
||||
state: body.pull_request.state ?? "open",
|
||||
|
|
|
|||
|
|
@ -1378,6 +1378,7 @@ export async function publishWorkspacePr(c: any): Promise<void> {
|
|||
});
|
||||
await syncTaskPullRequest(c, {
|
||||
number: created.number,
|
||||
status: "ready",
|
||||
title: record.title ?? record.task,
|
||||
body: null,
|
||||
state: "open",
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue