[PR #6037] Fix Github Pull Request Event #11707

Closed
opened 2026-02-16 18:16:38 -05:00 by yindo · 0 comments
Owner

Original Pull Request: https://github.com/anomalyco/opencode/pull/6037

State: closed
Merged: Yes


Fixing an error on Pull Request Event that for some reason i missed...

TypeError: undefined is not an object (evaluating 'payload.pull_request')
      at src/cli/cmd/github.ts:414:14
      at src/cli/cmd/github.ts:387:36
      at src/cli/bootstrap.ts:10:30
      at fn (src/cli/bootstrap.ts:8:9)
      at src/project/instance.ts:36:45
      at run (node:async_hooks:62:22)
      at processTicksAndRejections (unknown:7:39)

I also tested the Schedule event and seems to be working just fine too.

**Original Pull Request:** https://github.com/anomalyco/opencode/pull/6037 **State:** closed **Merged:** Yes --- Fixing an error on Pull Request Event that for some reason i missed... ``` TypeError: undefined is not an object (evaluating 'payload.pull_request') at src/cli/cmd/github.ts:414:14 at src/cli/cmd/github.ts:387:36 at src/cli/bootstrap.ts:10:30 at fn (src/cli/bootstrap.ts:8:9) at src/project/instance.ts:36:45 at run (node:async_hooks:62:22) at processTicksAndRejections (unknown:7:39) ``` I also tested the Schedule event and seems to be working just fine too.
yindo added the pull-request label 2026-02-16 18:16:38 -05:00
yindo closed this issue 2026-02-16 18:16:38 -05:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: anomalyco/opencode#11707