Skip to content

Commit

Permalink
feature(main): add rebot code
Browse files Browse the repository at this point in the history
  • Loading branch information
cuisongliu committed Apr 23, 2023
1 parent d188023 commit 4a252f1
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions cmd/comment.go
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,10 @@ var commentCmd = &cobra.Command{
RunE: func(cmd *cobra.Command, args []string) error {
comment := types.GlobalsGithubVar.CommentBody
logger.Debug("comment: ", comment)
cmds := strings.Split(comment, "\n")
for _, t := range cmds {
logger.Debug("cmds: ", t)
}
wf := workflow.NewWorkflow(comment)
switch {
//{prefix}_release
Expand Down

0 comments on commit 4a252f1

Please sign in to comment.