File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -20,7 +20,7 @@ def find_activity(
2020 if event_name == "workflow_run" :
2121 return "post_comment"
2222
23- if event_name == "push" and is_default_branch :
23+ if ( event_name == "push" and is_default_branch ) or event_name == "schedule" :
2424 return "save_coverage_data_files"
2525
2626 if event_name not in {"pull_request" , "push" }:
Original file line number Diff line number Diff line change @@ -77,9 +77,9 @@ def action(
7777 )
7878 except activity_module .ActivityNotFound :
7979 log .error (
80- 'This action has only been designed to work for "pull_request", "push" '
81- f'or "workflow_run " actions, not "{ event_name } ". Because there are security '
82- "implications. If you have a different usecase, please open an issue, "
80+ 'This action has only been designed to work for "pull_request", "push", '
81+ f'"workflow_run" or "schedule " actions, not "{ event_name } ". Because there '
82+ "are security implications. If you have a different usecase, please open an issue, "
8383 "we'll be glad to add compatibility."
8484 )
8585 return 1
You can’t perform that action at this time.
0 commit comments