All Ecosystems Covered + Dependabot Collector
Enforce All Ecosystems Covered using data collected by Dependabot Collector. Automatically check security and compliance standards on every PR.
How Dependabot Collector Powers This Guardrail
The Dependabot Collector gathers metadata from your security systems. This data flows into Lunar's Component JSON, where the All Ecosystems Covered guardrail evaluates it against your standards.
When enabled, this check runs automatically on every PR and in AI coding workflows, providing real-time enforcement with actionable feedback.
Quick Start Configuration
Add both the collector and policy to your lunar-config.yml to enable this guardrail.
# Step 1: Enable the Dependabot Collector
collectors:
- uses: github://earthly/lunar-lib/collectors/dependabot@v1.0.5
# with: ...
# Step 2: Enable the Dependency Automation Guardrails
policies:
- uses: github://earthly/lunar-lib/policies/dep-automation@v1.0.5
include: [all-ecosystems-covered]
# with: ...
What Dependabot Collector Collects
This collector gathers the following data that the All Ecosystems Covered guardrail evaluates.
config
Scans the repository for a Dependabot configuration file at .github/dependabot.yml (or .yaml variant). Parses the YAML to extract the schema version, update entries (ecosystem, directory, schedule), and a normalized list of covered ecosystems. Writes structured data to .dep_automation.dependabot.
Example Data Flow
Here's an example of the data that Dependabot Collector writes to the Component JSON, which All Ecosystems Covered then evaluates.
{
"dep_automation": {
"dependabot": {
"valid": true,
"path": ".github/dependabot.yml",
"version": 2,
"updates": [
{
"package_ecosystem": "npm",
"directory": "/",
"schedule": "weekly",
"open_pull_requests_limit": 5
},
{
"package_ecosystem": "docker",
"directory": "/",
"schedule": "weekly",
"open_pull_requests_limit": 5
},
{
"package_ecosystem": "github-actions",
"directory": "/",
"schedule": "weekly",
"open_pull_requests_limit": 5
}
],
"ecosystems": ["docker", "github-actions", "npm"],
"update_count": 3
}
}
}
Configuration Options
Dependabot Collector Inputs
| Input | Required | Default | Description |
|---|---|---|---|
paths |
Optional |
.github/dependabot.yml,.github/dependabot.yaml
|
Comma-separated list of Dependabot config file paths to check (first match wins) |
Dependency Automation Guardrails Inputs
| Input | Required | Default | Description |
|---|
Ready to Automate Your Standards?
See how Lunar can turn your AGENTS.md, engineering wiki, compliance docs, or postmortem action items into automated guardrails with our 100+ built-in guardrails.