Skip to content

Commit 5383bbd

Browse files
committed
docs: document Dependabot metadata labels in WORKFLOWS.md
1 parent 3ff23da commit 5383bbd

1 file changed

Lines changed: 14 additions & 4 deletions

File tree

.github/WORKFLOWS.md

Lines changed: 14 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -200,7 +200,7 @@ All workflows have been enhanced with:
200200

201201
- Automatic PR creation for updates
202202
- Weekly schedule to minimize noise
203-
- Labels: `dependencies`, `automated`
203+
- Labels: `dependencies`, `npm` / `github-actions`, `automated`
204204
- Auto-reviewers assigned
205205
- **Grouped updates** (noise reduction):
206206
- `production-dependencies` — minor/patch production deps
@@ -217,16 +217,26 @@ All workflows have been enhanced with:
217217

218218
**Triggers:** Pull Request events from Dependabot
219219

220-
**Purpose:** Automatically merge safe dependency updates
220+
**Purpose:** Automatically merge safe dependency updates and apply metadata labels
221221

222222
**Jobs:**
223223

224224
- **Auto-merge**:
225-
- ✅ Fetch Dependabot metadata
225+
- ✅ Fetch Dependabot metadata (`dependabot/fetch-metadata@v2`)
226+
-**Ensure metadata labels exist** (`semver-major`, `semver-minor`, `semver-patch`, `production`, `development`, `npm`, `github-actions`)
227+
-**Apply metadata labels** based on update-type, dependency-type, and package-ecosystem
226228
- ✅ Check update type (major/minor/patch)
227229
- ✅ Auto-approve minor and patch updates
228230
- ✅ Enable auto-merge for safe updates
229-
- ✅ Comment on major updates requiring manual review
231+
- ✅ Comment on major updates requiring manual review (with `semver-major` label)
232+
233+
**Metadata labels applied:**
234+
235+
| Label | Source |
236+
|-------|--------|
237+
| `semver-major` / `semver-minor` / `semver-patch` | `update-type` |
238+
| `production` / `development` | `dependency-type` |
239+
| `npm` / `github-actions` | `package-ecosystem` |
230240

231241
**Safety:** Only auto-merges minor and patch updates
232242

0 commit comments

Comments
 (0)