[GH-ISSUE #245] Add support for scheduled workflows #167

Closed
opened 2026-03-01 21:40:49 +03:00 by kerem · 7 comments
Owner

Originally created by @aaronmeder on GitHub (May 18, 2020).
Original GitHub issue: https://github.com/nektos/act/issues/245

Hi there!

It seems like at the moment act does ignore a workflow that has an on: schedule trigger.

Example trigger:
on: schedule: - cron: '0 */2 * * *'

It would not list and cannot be run thereafter.

It would be helpful if these could be run too. Any set schedule could just be ignored, in my opinion.

What do you think about it?

Thanks for the great tool!
Aaron

Originally created by @aaronmeder on GitHub (May 18, 2020). Original GitHub issue: https://github.com/nektos/act/issues/245 Hi there! It seems like at the moment act does ignore a workflow that has an `on: schedule` trigger. Example trigger: `on: schedule: - cron: '0 */2 * * *'` It would not list and cannot be run thereafter. It would be helpful if these could be run too. Any set schedule could just be ignored, in my opinion. What do you think about it? Thanks for the great tool! Aaron
Author
Owner

@cplee commented on GitHub (May 18, 2020):

Agreed @aaronmeder - this should be added.

<!-- gh-comment-id:630447037 --> @cplee commented on GitHub (May 18, 2020): Agreed @aaronmeder - this should be added.
Author
Owner

@saliceti commented on GitHub (Jun 5, 2020):

The scheduled job does not appear in act -l but I can run it fine with act -j <job_name>

<!-- gh-comment-id:639450855 --> @saliceti commented on GitHub (Jun 5, 2020): The scheduled job does not appear in `act -l` but I can run it fine with `act -j <job_name>`
Author
Owner

@daxmc99 commented on GitHub (Jun 11, 2020):

Bump, this confused me the first time I used the tool

<!-- gh-comment-id:642345661 --> @daxmc99 commented on GitHub (Jun 11, 2020): Bump, this confused me the first time I used the tool
Author
Owner

@github-actions[bot] commented on GitHub (Aug 11, 2020):

Issue is stale and will be closed in 7 days unless there is new activity

<!-- gh-comment-id:671653673 --> @github-actions[bot] commented on GitHub (Aug 11, 2020): Issue is stale and will be closed in 7 days unless there is new activity
Author
Owner

@hariso commented on GitHub (Jan 31, 2022):

Bump, this confused me the first time I used the tool

Same here!

<!-- gh-comment-id:1025922323 --> @hariso commented on GitHub (Jan 31, 2022): > Bump, this confused me the first time I used the tool Same here!
Author
Owner

@fharper commented on GitHub (Aug 24, 2022):

It would be great to list them also when doing act -l no?

<!-- gh-comment-id:1226105440 --> @fharper commented on GitHub (Aug 24, 2022): It would be great to list them also when doing `act -l` no?
Author
Owner

@catthehacker commented on GitHub (Aug 27, 2022):

It would be great to list them also when doing act -l no?

❯ act -l schedule
Stage  Job ID   Job name  Workflow name       Workflow file  Events
0      release  promote   promote             promote.yml    schedule,workflow_dispatch
0      stale    Stale     Close stale issues  stale.yml      schedule
<!-- gh-comment-id:1229337804 --> @catthehacker commented on GitHub (Aug 27, 2022): > It would be great to list them also when doing `act -l` no? ``` ❯ act -l schedule Stage Job ID Job name Workflow name Workflow file Events 0 release promote promote promote.yml schedule,workflow_dispatch 0 stale Stale Close stale issues stale.yml schedule ```
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/act#167
No description provided.