Publish curated projectbrain source from 246c0a7f35e32f54fa1bf8a3f720b01bb00dd9af
This commit is contained in:
1 parent
759d263081
commit
98f7618af2
11 files changed
+540
-63
No files matched your search
@@ -777,8 +777,8 @@ export const createProjectBrainMcpServer = (env: AppEnv, actor: string) => {
|
||||
const head = await client.getBranch(link!.owner, link!.repository, branch);
|
||||
if (head.commit.id !== expected_head_sha) throw new Error("FEATURE_DELIVERY_MERGE_HEAD_CONFLICT");
|
||||
assertFeatureDeliveryActionEvidence(delivery.spec.validationEvidence, expected_head_sha);
|
||||
const actionRuns = await client.listActionRuns(link!.owner, link!.repository, { branch, headSha: expected_head_sha, limit: 30 });
|
||||
assertSuccessfulPullRequestFullActionRun(actionRuns.workflow_runs, branch, expected_head_sha);
|
||||
const actionRuns = await client.listActionRuns(link!.owner, link!.repository, { branch, headSha: expected_head_sha, pullRequestNumber, limit: 30 });
|
||||
assertSuccessfulPullRequestFullActionRun(actionRuns.workflow_runs, branch, expected_head_sha, pullRequestNumber);
|
||||
|
||||
await client.waitForRequiredPullRequestChecks(link!.owner, link!.repository, link!.defaultBranch, expected_head_sha);
|
||||
const mergeReadyPullRequest = await client.getPullRequest(link!.owner, link!.repository, pullRequestNumber);
|
||||
|
||||
Reference in new issue
Block a user