Schedule manual workflow runs

It would be nice if I could schedule a workflow_dispatch to be run at a certain time. This might be possible by creating a wrapper action by requiring time as an input to the action and waiting until the time equals the inputted time to run the desired action, but this seems like something that should be a default feature.

This feature would be especially important for time-based deployments: e.g., pushing a site update at 8 p.m. EST on a certain day.

1 Like

Having a workflow idle for a while is possible, but there are timeout limits (6 hours for a job, 72 hours for a workflow).

You can kind of do this with scheduled workflows however:

on:
  schedule:
    - cron: '0 1 22 11 *'

This will run on November 22nd at 1 a.m. UTC (every year), which should be November 21st 8 p.m. EST.

The workflow run is initiated without inputs, which may or may not be a problem.