Skip to content
Latchkey

GitHub Actions "workflow disabled due to repository inactivity"

GitHub disables scheduled and some automated workflows in repositories that have gone inactive, so they stop running until re-enabled. This commonly affects forks and dormant repos. It is a platform policy, not an infrastructure failure.

What this error means

A workflow does not trigger and is marked disabled, typically in a fork or a repository with no recent activity.

github-actions
Workflow "scheduled-sync.yml" is disabled because the repository has been inactive.
Enable it from the Actions tab to resume runs.

Common causes

Repository inactivity

The repo has had no activity, so automated/scheduled workflows were disabled.

Fork with Actions disabled

Forks often have workflows disabled until the owner explicitly enables Actions.

How to fix it

Enable Actions and the workflow

  1. In the Actions tab, enable Actions for the repository if prompted.
  2. Enable the specific disabled workflow.
  3. Push activity to keep it active going forward.
GitHub CLI
gh workflow enable scheduled-sync.yml

How to prevent it

  • Re-enable Actions and key workflows on forks and dormant repositories.
  • Maintain periodic activity for repos that depend on scheduled automation.

Related guides

Tired of flaky CI? Latchkey auto-heals failed jobs and retries them for you. Start free →