3232 github:
3333 allowed: [list_issues]
3434---` ,
35- expectedOn : `"on" : push` ,
35+ expectedOn : `on : push` ,
3636 },
3737 {
3838 name : "custom on workflow_dispatch" ,
4343 github:
4444 allowed: [list_issues]
4545---` ,
46- expectedOn : `"on" :
46+ expectedOn : `on :
4747 workflow_dispatch:` ,
4848 },
4949 {
5858 github:
5959 allowed: [list_issues]
6060---` ,
61- expectedOn : `"on" :
61+ expectedOn : `on :
6262 pull_request:
6363 branches:
6464 - main
7979 github:
8080 allowed: [list_issues]
8181---` ,
82- expectedOn : `"on" :
82+ expectedOn : `on :
8383 issues:
8484 types:
8585 - opened
@@ -276,7 +276,7 @@ tools:
276276 allowed: [list_issues]
277277---` ,
278278 filename : "command-with-dispatch.md" ,
279- expectedOn : "\" on \" :\n discussion:\n types:\n - created\n - edited\n discussion_comment:\n types:\n - created\n - edited\n issue_comment:\n types:\n - created\n - edited\n issues:\n types:\n - opened\n - edited\n - reopened\n pull_request:\n types:\n - opened\n - edited\n - reopened\n pull_request_review_comment:\n types:\n - created\n - edited\n workflow_dispatch:" ,
279+ expectedOn : "on :\n discussion:\n types:\n - created\n - edited\n discussion_comment:\n types:\n - created\n - edited\n issue_comment:\n types:\n - created\n - edited\n issues:\n types:\n - opened\n - edited\n - reopened\n pull_request:\n types:\n - opened\n - edited\n - reopened\n pull_request_review_comment:\n types:\n - created\n - edited\n workflow_dispatch:" ,
280280 expectedIf : "github.event_name == 'issues'" ,
281281 expectedCommand : "test-bot" ,
282282 shouldError : false ,
@@ -294,7 +294,7 @@ tools:
294294 allowed: [list_issues]
295295---` ,
296296 filename : "command-with-schedule.md" ,
297- expectedOn : "\" on \" :\n discussion:\n types:\n - created\n - edited\n discussion_comment:\n types:\n - created\n - edited\n issue_comment:\n types:\n - created\n - edited\n issues:\n types:\n - opened\n - edited\n - reopened\n pull_request:\n types:\n - opened\n - edited\n - reopened\n pull_request_review_comment:\n types:\n - created\n - edited\n schedule:\n - cron: \" 0 9 * * 1\" " ,
297+ expectedOn : "on :\n discussion:\n types:\n - created\n - edited\n discussion_comment:\n types:\n - created\n - edited\n issue_comment:\n types:\n - created\n - edited\n issues:\n types:\n - opened\n - edited\n - reopened\n pull_request:\n types:\n - opened\n - edited\n - reopened\n pull_request_review_comment:\n types:\n - created\n - edited\n schedule:\n - cron: \" 0 9 * * 1\" " ,
298298 expectedIf : "github.event_name == 'issues'" ,
299299 expectedCommand : "schedule-bot" ,
300300 shouldError : false ,
@@ -313,7 +313,7 @@ tools:
313313 allowed: [list_issues]
314314---` ,
315315 filename : "command-with-multiple.md" ,
316- expectedOn : "\" on \" :\n discussion:\n types:\n - created\n - edited\n discussion_comment:\n types:\n - created\n - edited\n issue_comment:\n types:\n - created\n - edited\n issues:\n types:\n - opened\n - edited\n - reopened\n pull_request:\n types:\n - opened\n - edited\n - reopened\n pull_request_review_comment:\n types:\n - created\n - edited\n push:\n branches:\n - main\n workflow_dispatch:" ,
316+ expectedOn : "on :\n discussion:\n types:\n - created\n - edited\n discussion_comment:\n types:\n - created\n - edited\n issue_comment:\n types:\n - created\n - edited\n issues:\n types:\n - opened\n - edited\n - reopened\n pull_request:\n types:\n - opened\n - edited\n - reopened\n pull_request_review_comment:\n types:\n - created\n - edited\n push:\n branches:\n - main\n workflow_dispatch:" ,
317317 expectedIf : "github.event_name == 'issues'" ,
318318 expectedCommand : "multi-bot" ,
319319 shouldError : false ,
0 commit comments