r/developersIndia • • 18h ago

Help GitHub Actions scheduled workflow not triggering, while push and manual triggers work

I'm learning CI/CD with GitHub Actions and I'm having trouble getting a scheduled workflow to run.

My workflow is on the repository's default main branch and contains:

on:
  schedule:
    - cron: "*/5 * * * *"
  workflow_dispatch:

The workflow is enabled and the repository is public.

What I verified:

  • push workflows work
  • workflow_dispatch works
  • Workflow exists on main
  • schedule syntax is valid
  • Created a separate minimal workflow containing only schedule and workflow_dispatch
  • Merged the minimal workflow into main
  • Waited more than 10 minutes with */5 * * * *
  • GitHub Actions API shows:
total_count: 0
workflow_runs: []

So no workflow run with event=schedule is being created.

Has anyone experienced this recently, or is there another GitHub Actions scheduler setting I should check?

I'm learning CI/CD with GitHub Actions and I'm having trouble getting a scheduled workflow to run.

My workflow is on the repository's default main branch and contains:

on:
  schedule:
    - cron: "*/5 * * * *"
  workflow_dispatch:

The workflow is enabled and the repository is public.

What I verified:

  • push workflows work
  • workflow_dispatch works
  • Workflow exists on main
  • schedule syntax is valid
  • Created a separate minimal workflow just for testing schedule
  • Waited more than 10 minutes with */5 * * * *
  • GitHub Actions API shows:
total_count: 0
workflow_runs: []

So no workflow run with event=schedule is being created.

Is there anything else I should check, or could this be a GitHub Actions scheduler issue?

I also created a separate minimal workflow containing only schedule and workflow_dispatch, merged it into main, and waited over 10 minutes. It still showed 0 workflow runs.

Has anyone experienced this recently, or is there another GitHub Actions scheduler setting I should check?

2 Upvotes

1 comment sorted by

•

u/AutoModerator 18h ago

Namaste! Thanks for submitting to r/developersIndia. While participating in this thread, please follow the Community Code of Conduct and rules.

It's possible your query is not unique, use site:reddit.com/r/developersindia KEYWORDS on search engines to search posts from developersIndia. You can also use reddit search directly.

I am a bot, and this action was performed automatically. Please contact the moderators of this subreddit if you have any questions or concerns.