summaryrefslogtreecommitdiffhomepage
path: root/packages
diff options
context:
space:
mode:
authorGitHub Action <[email protected]>2025-12-23 15:39:47 +0000
committerGitHub Action <[email protected]>2025-12-23 15:39:47 +0000
commitc573732ddbfb3f53eefe34de45db420ad1978c19 (patch)
treec8924a7977167accba33554aa6408ff41fda6ada /packages
parentab2a6c45a393621281d88c0c0da357d300361b74 (diff)
downloadopencode-c573732ddbfb3f53eefe34de45db420ad1978c19.tar.gz
opencode-c573732ddbfb3f53eefe34de45db420ad1978c19.zip
chore: generate
Diffstat (limited to 'packages')
-rw-r--r--packages/opencode/src/cli/cmd/github.ts13
-rw-r--r--packages/plugin/package.json2
-rw-r--r--packages/sdk/js/package.json2
3 files changed, 13 insertions, 4 deletions
diff --git a/packages/opencode/src/cli/cmd/github.ts b/packages/opencode/src/cli/cmd/github.ts
index 6bfc53184..37aed2426 100644
--- a/packages/opencode/src/cli/cmd/github.ts
+++ b/packages/opencode/src/cli/cmd/github.ts
@@ -7,7 +7,12 @@ import { graphql } from "@octokit/graphql"
import * as core from "@actions/core"
import * as github from "@actions/github"
import type { Context } from "@actions/github/lib/context"
-import type { IssueCommentEvent, PullRequestReviewCommentEvent, WorkflowRunEvent, PullRequestEvent } from "@octokit/webhooks-types"
+import type {
+ IssueCommentEvent,
+ PullRequestReviewCommentEvent,
+ WorkflowRunEvent,
+ PullRequestEvent,
+} from "@octokit/webhooks-types"
import { UI } from "../ui"
import { cmd } from "./cmd"
import { ModelsDev } from "../../provider/models"
@@ -401,7 +406,11 @@ export const GithubRunCommand = cmd({
const oidcBaseUrl = normalizeOidcBaseUrl()
const { owner, repo } = context.repo
// For schedule events, payload has no issue/comment data
- const payload = (context.payload as IssueCommentEvent | PullRequestReviewCommentEvent | WorkflowRunEvent | PullRequestEvent)
+ const payload = context.payload as
+ | IssueCommentEvent
+ | PullRequestReviewCommentEvent
+ | WorkflowRunEvent
+ | PullRequestEvent
const issueEvent = isIssueCommentEvent(payload) ? payload : undefined
const actor = isScheduleEvent ? undefined : context.actor
diff --git a/packages/plugin/package.json b/packages/plugin/package.json
index 1a9fe4900..298775680 100644
--- a/packages/plugin/package.json
+++ b/packages/plugin/package.json
@@ -24,4 +24,4 @@
"typescript": "catalog:",
"@typescript/native-preview": "catalog:"
}
-} \ No newline at end of file
+}
diff --git a/packages/sdk/js/package.json b/packages/sdk/js/package.json
index 66b8a816e..76b1bd16a 100644
--- a/packages/sdk/js/package.json
+++ b/packages/sdk/js/package.json
@@ -29,4 +29,4 @@
"publishConfig": {
"directory": "dist"
}
-} \ No newline at end of file
+}