Replies: 3 comments
|
Hi, this is almost always one of the documented schedule rules, not a broken scheduler. In order of likelihood: Schedules only run from the default branch. The on: schedule workflow file must be on the latest commit of the default branch. Open Settings > Branches and confirm the default branch really is master. Then open schedule-test.yml on that branch and check the schedule: block is exactly there. If none of these applies, open a ticket with GitHub Support (https://support.github.com/contact). Staff can inspect scheduler registration. Community members cannot. |
|
Hi @wawan95! I checked your repo through the public API to rule out the usual causes. Your setup is correct, so you can stop changing the workflow file. What I checked
You can check the same things yourself: gh api repos/wawan95/wawan95.github.io/actions/workflows --jq '.workflows[] | "\(.state)\t\(.path)"'
gh api "repos/wawan95/wawan95.github.io/actions/runs?event=schedule" --jq '.total_count'What this meansEverything you can configure is correct, and GitHub has never created a
Workaround while you waitSince
That starts the same run you start by hand, with no dependence on the Actions scheduler. You can remove it once Support fixes the |
Uh oh!
There was an error while loading. Please reload this page.
🏷️ Discussion Type
Question
💬 Feature/Topic Area
ARC (Actions Runner Controller)
Discussion Details
Hello GitHub Community,
I'm experiencing an issue with GitHub Actions where scheduled workflows never trigger automatically, even though manual execution using workflow_dispatch works successfully.
I would appreciate help investigating whether this could be a GitHub Actions scheduler issue.
Repository Information
Repository: https://github.com/wawan95/wawan95.github.io
GitHub account: wawan95
Default branch: master
Repository visibility: Public
Workflow files:
.github/workflows/update-news.yml
.github/workflows/schedule-test.yml
Expected Behavior
The scheduled workflows should automatically run according to their cron expressions.
For testing purposes, I configured the test workflow to run every five minutes:
name: Schedule Test
on:
schedule:
- cron: "*/5 * * * *"
workflow_dispatch:
jobs:
test-schedule:
runs-on: ubuntu-latest
Actual Behavior
Scheduled executions never appear in the Actions run history.
No runs with the schedule event are created.
Manual executions using workflow_dispatch work successfully.
The manually triggered workflow completes successfully.
The manual execution log confirms:
SCHEDULE TEST SUCCESS
Trigger event: workflow_dispatch
Troubleshooting Already Performed
I have already checked and tried the following:
Confirmed that the repository is public.
Confirmed that master is the default branch.
Confirmed that both workflow files exist on the default branch.
Confirmed that the workflows are enabled.
Verified that the YAML configuration is valid.
Confirmed that GitHub Actions permissions are enabled.
Confirmed that workflow permissions are set to Read and write.
Changed the cron expression several times, including */5 * * * *.
Committed and pushed the cron changes using my own GitHub account (wawan95).
Disabled and re-enabled the test workflow.
Manually triggered the test workflow and confirmed that it completed successfully.
Waited for multiple scheduled execution windows, but no schedule runs appeared.
Questions
Is there any known issue with GitHub Actions scheduled event delivery?
Is it possible that the scheduled workflow is not being registered or evaluated by the GitHub scheduler?
Is there a way to inspect or reset the scheduled event registration for a repository?
Can GitHub staff investigate why schedule events are not being generated, while workflow_dispatch works normally?
Since the issue persists after testing multiple cron expressions and resetting the workflow, I suspect this may be related to scheduled event delivery rather than the workflow code itself.
Thank you for your help.
All reactions