[PR #5810] github: support schedule events #11598

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

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

State: closed
Merged: Yes


note: draft for now as I want to make sure we're happy with this / think through it over the weekend.

Adds support for schedule events in the GitHub Action, allowing users to run OpenCode on a cron schedule.

  • add schedule to allowed event types
  • skip /opencode keyword check for schedule events (no comment to parse)
  • skip creating issue comment for schedule events (no issue/PR context)
  • prompt input is required for schedule events
  • branch naming: opencode/scheduled-{6-random-hex-chars}-{timestamp}
  • omit co-authored-by on commits (schedule operates as the repo)
  • add "Supported Events" section to docs with table and example workflow

Users can now create scheduled workflows that invoke OpenCode with a prompt to perform automated tasks like code reviews, reports, or maintenance. OpenCode can still open PRs/issues and call tools (webhooks, etc.) as needed.

**Original Pull Request:** https://github.com/anomalyco/opencode/pull/5810 **State:** closed **Merged:** Yes --- **note**: draft for now as I want to make sure we're happy with this / think through it over the weekend. Adds support for `schedule` events in the GitHub Action, allowing users to run OpenCode on a cron schedule. - add `schedule` to allowed event types - skip `/opencode` keyword check for schedule events (no comment to parse) - skip creating issue comment for schedule events (no issue/PR context) - `prompt` input is required for schedule events - branch naming: `opencode/scheduled-{6-random-hex-chars}-{timestamp}` - omit co-authored-by on commits (schedule operates as the repo) - add "Supported Events" section to docs with table and example workflow Users can now create scheduled workflows that invoke OpenCode with a prompt to perform automated tasks like code reviews, reports, or maintenance. OpenCode can still open PRs/issues and call tools (webhooks, etc.) as needed.
yindo added the pull-request label 2026-02-16 18:16:28 -05:00
yindo closed this issue 2026-02-16 18:16:28 -05:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: anomalyco/opencode#11598