cloudflavor / oscar

A GitOps automation bot for VCS misc tasks
Apache License 2.0
0 stars 0 forks source link

feat: Add command registry for handling GitHub commands #13

Closed PI-Victor closed 2 weeks ago

PI-Victor commented 2 weeks ago

The code changes introduce a new github.ts file that contains a CommandRegistry class and several command handler functions. The CommandRegistry class allows registering command handlers based on command prefixes. The processCommand method processes incoming commands and executes the corresponding handler. This addition enables the handling of commands like /label, /restart-action, /reviewers, and /assign. The new functionality improves the ability to interact with GitHub repositories through commands.

PI-Victor commented 2 weeks ago

/label Feature enhancement

PI-Victor commented 2 weeks ago

/triage

PI-Victor commented 2 weeks ago

/assign @PI-Victor