Skip to content

Evaluate schedule triggers with next-fire times #4

Description

@Co-Messi

Body:

Today schedule is classified as "cron only" but not evaluated. We should parse the cron expression and, given a reference time, report whether and when the workflow next fires.

Scope:

  • Parse the cron: entries under on.schedule.
  • Compute the next fire time(s) relative to "now" (or a --now override for reproducibility).
  • Surface it in the verdict, e.g. "scheduled — next fire 2026-07-25 00:00 UTC".

Fidelity notes to respect: GitHub schedules run in UTC, only on the default branch, and can be delayed under load — the output should describe the scheduled time honestly, not promise exact execution. Cite GitHub's schedule docs in the PR.


Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions