SAIFTRBL0023 ยท permalink
Dependabot config fails with schedule field is required¶
Add a schedule block to every entry under updates in .github/dependabot.yml. The dependabot@2 task validates the file strictly and rejects entries without one.
๐จ Symptom¶
The Dependabot pipeline fails within seconds, before any updater work, with a configuration validation error:
๐ Applies to¶
| Aspect | Value |
|---|---|
| Component | Azure DevOps dependabot@2 task (Paklo), .github/dependabot.yml |
| Observed on | dependabot@2 2.68.7 |
| Not for | Entries that use multi-ecosystem-group, which take their schedule from the group |
Prerequisites and safety¶
- Edit access to the repository's
.github/dependabot.yml. - The Azure DevOps pipeline schedule in
.azdo/dependabot-scan.ymlcontrols when the scan runs. Thescheduleblock independabot.ymlonly has to pass validation, so match the pipeline's cron.
โ Fix¶
-
Add a
scheduleblock to eachupdatesentry: -
Commit the change, then run the Dependabot pipeline.
๐ฌ Verify¶
The run gets past configuration validation and starts the updater. Other errors can still appear after this point, such as the registry error in Dependabot registry not referenced by any update.
๐ง Cause¶
The Paklo-based dependabot@2 task validates each updates entry against a strict schema and requires schedule unless the entry uses multi-ecosystem-group. The check lives in packages/core/src/dependabot/config.ts in mburumaxwell/paklo. Repositories scaffolded before the template included schedule fail until you add it.
๐ Related¶
- Pipelines reference: Dependabot - Template defaults
- Paklo configuration schema