Skip to content

bun dev github run fails with unclear error when no event context is provided #7193

@Molaryy

Description

@Molaryy

Description

Running bun dev github run without a GitHub Actions event context currently fails with:

Unsupported event type: undefined

This error is misleading. The real issue is that no GitHub event context is available, not that an unsupported event was provided. As a result, users are not guided toward the correct next step, such as running the command inside a GitHub Actions workflow or providing a mock event locally.

Plugins

No response

OpenCode version

No response

Steps to reproduce

bun dev githun run

Screenshot and/or share link

No response

Operating System

macOS 15.6

Terminal

Ghostty

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions