Skip to content

Commit c573732

Browse files
committed
chore: generate
1 parent ab2a6c4 commit c573732

3 files changed

Lines changed: 13 additions & 4 deletions

File tree

‎packages/opencode/src/cli/cmd/github.ts‎

Lines changed: 11 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,12 @@ import { graphql } from "@octokit/graphql"
77
import * as core from "@actions/core"
88
import * as github from "@actions/github"
99
import type { Context } from "@actions/github/lib/context"
10-
import type { IssueCommentEvent, PullRequestReviewCommentEvent, WorkflowRunEvent, PullRequestEvent } from "@octokit/webhooks-types"
10+
import type {
11+
IssueCommentEvent,
12+
PullRequestReviewCommentEvent,
13+
WorkflowRunEvent,
14+
PullRequestEvent,
15+
} from "@octokit/webhooks-types"
1116
import { UI } from "../ui"
1217
import { cmd } from "./cmd"
1318
import { ModelsDev } from "../../provider/models"
@@ -401,7 +406,11 @@ export const GithubRunCommand = cmd({
401406
const oidcBaseUrl = normalizeOidcBaseUrl()
402407
const { owner, repo } = context.repo
403408
// For schedule events, payload has no issue/comment data
404-
const payload = (context.payload as IssueCommentEvent | PullRequestReviewCommentEvent | WorkflowRunEvent | PullRequestEvent)
409+
const payload = context.payload as
410+
| IssueCommentEvent
411+
| PullRequestReviewCommentEvent
412+
| WorkflowRunEvent
413+
| PullRequestEvent
405414
const issueEvent = isIssueCommentEvent(payload) ? payload : undefined
406415
const actor = isScheduleEvent ? undefined : context.actor
407416

‎packages/plugin/package.json‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,4 +24,4 @@
2424
"typescript": "catalog:",
2525
"@typescript/native-preview": "catalog:"
2626
}
27-
}
27+
}

‎packages/sdk/js/package.json‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,4 +29,4 @@
2929
"publishConfig": {
3030
"directory": "dist"
3131
}
32-
}
32+
}

0 commit comments

Comments
 (0)