Skip to content

Commit 559fae8

Browse files
authored
[MAINT]: Group Dependabot security minor patch updates (#91)
## Description Adds explicit Dependabot `security-minor-and-patch` groups for configured ecosystems so minor and patch security updates can be grouped separately from normal version updates. Mirrors microsoft/PyRIT#2018. This follows up on the recent separate Dependabot security PRs #85, #87, #88, #89, and #90. Those PRs were opened one dependency at a time because Dependabot `groups.applies-to` defaults to `version-updates` when omitted. GitHub's Dependabot options reference documents that `applies-to` supports both `version-updates` and `security-updates`. The existing `uv` `minor-and-patch` group is preserved for normal version updates. This change adds a matching security-only minor/patch group for `uv`, plus security-only minor/patch groups for `github-actions` and `pre-commit`. Major security updates are intentionally left ungrouped so higher-risk updates remain isolated for review. References: - Dependabot `groups` option: https://docs.github.com/en/code-security/reference/supply-chain-security/dependabot-options-reference#groups-- - Dependabot `applies-to` behavior: https://docs.github.com/en/code-security/reference/supply-chain-security/dependabot-options-reference#groups-- - Dependabot security updates: https://docs.github.com/en/code-security/dependabot/dependabot-security-updates ## Breaking changes None. ## Checklist - [X] `pre-commit run --all-files` passes - [ ] Tests added or updated for changes - [ ] Documentation updated
1 parent c7014fd commit 559fae8

1 file changed

Lines changed: 17 additions & 0 deletions

File tree

‎.github/dependabot.yml‎

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,17 +11,34 @@ updates:
1111
update-types:
1212
- minor
1313
- patch
14+
security-minor-and-patch:
15+
applies-to: security-updates
16+
update-types:
17+
- minor
18+
- patch
1419

1520
- package-ecosystem: github-actions
1621
directory: /
1722
schedule:
1823
interval: weekly
1924
commit-message:
2025
prefix: "[MAINT]"
26+
groups:
27+
security-minor-and-patch:
28+
applies-to: security-updates
29+
update-types:
30+
- minor
31+
- patch
2132

2233
- package-ecosystem: pre-commit
2334
directory: /
2435
schedule:
2536
interval: weekly
2637
commit-message:
2738
prefix: "[MAINT]"
39+
groups:
40+
security-minor-and-patch:
41+
applies-to: security-updates
42+
update-types:
43+
- minor
44+
- patch

0 commit comments

Comments
 (0)