diff options
Diffstat (limited to 'source/features/next-scheduled-github-action.tsx')
-rw-r--r-- | source/features/next-scheduled-github-action.tsx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/features/next-scheduled-github-action.tsx b/source/features/next-scheduled-github-action.tsx index 6b808da1..30dbbb20 100644 --- a/source/features/next-scheduled-github-action.tsx +++ b/source/features/next-scheduled-github-action.tsx @@ -33,7 +33,7 @@ const getScheduledWorkflows = cache.function(async (): Promise<Record<string, st for (const workflow of workflows) { const workflowYaml = workflow.object.text; const name = /^name[:\s'"]+(.+)['"]?/m.exec(workflowYaml); - const cron = /schedule[:\s-]+cron[:\s'"]+(.+)['"]/m.exec(workflowYaml); + const cron = /schedule[:\s-]+cron[:\s'"]+(.+)['"]?/m.exec(workflowYaml); if (name && cron) { schedules[name[1]] = cron[1]; |