require-digitalocean-app-spec-component
Require at least one deployable component block in DigitalOcean app specs.
Targeted pattern scopeâ
- Top-level component blocks in
.do/app.yamlor.do/app.yml:servicesworkersjobsstatic_sitesfunctionsdatabases
What this rule reportsâ
This rule reports app specs that define metadata like name/region but no
actual deployable components.
Why this rule existsâ
A DigitalOcean App Platform spec without components is incomplete and can hide misconfigured deployment intent in review.
â Incorrectâ
name: demo
region: nyc
â Correctâ
name: demo
region: nyc
services:
- name: web
When not to use itâ
Disable this rule if your repository intentionally stores partial app-spec snippets and composes full specs elsewhere.
Rule catalog ID: R087