Skip to content

chore(deps): consolidate dependabot config with groups and cooldowns - #2245

Merged
Quang Nguyen (nddq) merged 1 commit into
mainfrom
chore/optimize-dependabot-config
Apr 23, 2026
Merged

chore(deps): consolidate dependabot config with groups and cooldowns#2245
Quang Nguyen (nddq) merged 1 commit into
mainfrom
chore/optimize-dependabot-config

Conversation

@nddq

@nddq Quang Nguyen (nddq) commented Apr 23, 2026

Copy link
Copy Markdown
Member

Description

Currently the Dependabot config has 7 separate Docker blocks (one per Dockerfile directory) running daily, no dependency grouping for gomod, and no tracking for the /site npm packages. This generates ~9 individual PRs/week and misses Docusaurus version updates entirely.

This PR consolidates and optimizes .github/dependabot.yaml:

  • Docker: Collapse 7 blocks into 1 using multi-directory directories: syntax, switch from daily to weekly, and group by image family (golang-base, azurelinux-base, windows-base, ubuntu-base)
  • Go modules: Add patch-only groups for k8s, cilium, aws-sdk, azure-sdk, and otel families — minors and majors remain standalone for review
  • GitHub Actions: Add actions-patch group for patch-only bundling
  • npm: Add /site (Docusaurus) tracking with weekly schedule and docusaurus group for @docusaurus/* / @mdx-js/* patches
  • Cooldowns: 7d default / 30d major for Docker and gomod; 3d / 14d for actions; 7d / 30d for npm
  • Cleanup: Remove inspektor-gadget ignore (no longer used)

Related Issue

N/A

Checklist

  • I have read the contributing documentation.
  • I signed and signed-off the commits (git commit -S -s ...). See this documentation on signing commits.
  • I have correctly attributed the author(s) of the code.
  • I have tested the changes locally.
  • I have followed the project's style guidelines.
  • I have updated the documentation, if necessary. (config-only change)
  • I have added tests, if applicable. (config-only change)

Screenshots (if applicable) or Testing Completed

N/A — config-only change.

Additional Notes

  • directories: (plural) requires GitHub-hosted Dependabot (which this repo uses). See GitHub changelog.
  • Security updates bypass cooldown windows automatically — no CVE delay risk.
  • Docker groups deliberately don't restrict update-types since digest-only re-pins don't reliably classify as "patch" in Dependabot's semver model.

…pm tracking

- Consolidate 7 Docker blocks into 1 using multi-directory syntax
- Add image-family groups (golang, azurelinux, windows, ubuntu)
- Add gomod groups for k8s, cilium, aws-sdk, azure-sdk, otel (patch-only)
- Add GitHub Actions patch group
- Add npm ecosystem for /site (Docusaurus) with docusaurus group
- Configure cooldown periods to reduce PR churn
- Majors remain standalone PRs for careful review

Signed-off-by: Quang Nguyen <nguyenquang@microsoft.com>
@github-actions

Copy link
Copy Markdown

Retina Code Coverage Report

Total coverage no change

Increased diff

Impacted Files Coverage
pkg/controllers/operator/retinaendpoint/retinaendpoint_controller.go 82.25% ... 83.28% (1.03%) ⬆️

@nddq
Quang Nguyen (nddq) added this pull request to the merge queue Apr 23, 2026
Merged via the queue into main with commit 4493c32 Apr 23, 2026
32 checks passed
@nddq
Quang Nguyen (nddq) deleted the chore/optimize-dependabot-config branch April 23, 2026 17:33
Laksh (lakshk98) pushed a commit to lakshk98/retina that referenced this pull request Aug 4, 2026
…icrosoft#2245)

# Description

Currently the Dependabot config has 7 separate Docker blocks (one per
Dockerfile directory) running daily, no dependency grouping for gomod,
and no tracking for the `/site` npm packages. This generates ~9
individual PRs/week and misses Docusaurus version updates entirely.

This PR consolidates and optimizes `.github/dependabot.yaml`:

- **Docker**: Collapse 7 blocks into 1 using multi-directory
`directories:` syntax, switch from daily to weekly, and group by image
family (`golang-base`, `azurelinux-base`, `windows-base`, `ubuntu-base`)
- **Go modules**: Add patch-only groups for `k8s`, `cilium`, `aws-sdk`,
`azure-sdk`, and `otel` families — minors and majors remain standalone
for review
- **GitHub Actions**: Add `actions-patch` group for patch-only bundling
- **npm**: Add `/site` (Docusaurus) tracking with weekly schedule and
`docusaurus` group for `@docusaurus/*` / `@mdx-js/*` patches
- **Cooldowns**: 7d default / 30d major for Docker and gomod; 3d / 14d
for actions; 7d / 30d for npm
- **Cleanup**: Remove `inspektor-gadget` ignore (no longer used)

## Related Issue

N/A

## Checklist

- [x] I have read the [contributing
documentation](https://retina.sh/docs/Contributing/overview).
- [x] I signed and signed-off the commits (`git commit -S -s ...`). See
[this
documentation](https://docs.github.com/en/authentication/managing-commit-signature-verification/about-commit-signature-verification)
on signing commits.
- [x] I have correctly attributed the author(s) of the code.
- [x] I have tested the changes locally.
- [x] I have followed the project's style guidelines.
- [ ] I have updated the documentation, if necessary. (config-only
change)
- [ ] I have added tests, if applicable. (config-only change)

## Screenshots (if applicable) or Testing Completed

N/A — config-only change.

## Additional Notes

- `directories:` (plural) requires GitHub-hosted Dependabot (which this
repo uses). See [GitHub
changelog](https://github.blog/changelog/2024-06-25-simplified-dependabot-yml-configuration-with-multi-directory-key-directories-and-wildcard-glob-support/).
- Security updates bypass cooldown windows automatically — no CVE delay
risk.
- Docker groups deliberately don't restrict `update-types` since
digest-only re-pins don't reliably classify as "patch" in Dependabot's
semver model.

Signed-off-by: Quang Nguyen <nguyenquang@microsoft.com>
Laksh (lakshk98) pushed a commit to lakshk98/retina that referenced this pull request Aug 4, 2026
…icrosoft#2245)

# Description

Currently the Dependabot config has 7 separate Docker blocks (one per
Dockerfile directory) running daily, no dependency grouping for gomod,
and no tracking for the `/site` npm packages. This generates ~9
individual PRs/week and misses Docusaurus version updates entirely.

This PR consolidates and optimizes `.github/dependabot.yaml`:

- **Docker**: Collapse 7 blocks into 1 using multi-directory
`directories:` syntax, switch from daily to weekly, and group by image
family (`golang-base`, `azurelinux-base`, `windows-base`, `ubuntu-base`)
- **Go modules**: Add patch-only groups for `k8s`, `cilium`, `aws-sdk`,
`azure-sdk`, and `otel` families — minors and majors remain standalone
for review
- **GitHub Actions**: Add `actions-patch` group for patch-only bundling
- **npm**: Add `/site` (Docusaurus) tracking with weekly schedule and
`docusaurus` group for `@docusaurus/*` / `@mdx-js/*` patches
- **Cooldowns**: 7d default / 30d major for Docker and gomod; 3d / 14d
for actions; 7d / 30d for npm
- **Cleanup**: Remove `inspektor-gadget` ignore (no longer used)

## Related Issue

N/A

## Checklist

- [x] I have read the [contributing
documentation](https://retina.sh/docs/Contributing/overview).
- [x] I signed and signed-off the commits (`git commit -S -s ...`). See
[this
documentation](https://docs.github.com/en/authentication/managing-commit-signature-verification/about-commit-signature-verification)
on signing commits.
- [x] I have correctly attributed the author(s) of the code.
- [x] I have tested the changes locally.
- [x] I have followed the project's style guidelines.
- [ ] I have updated the documentation, if necessary. (config-only
change)
- [ ] I have added tests, if applicable. (config-only change)

## Screenshots (if applicable) or Testing Completed

N/A — config-only change.

## Additional Notes

- `directories:` (plural) requires GitHub-hosted Dependabot (which this
repo uses). See [GitHub
changelog](https://github.blog/changelog/2024-06-25-simplified-dependabot-yml-configuration-with-multi-directory-key-directories-and-wildcard-glob-support/).
- Security updates bypass cooldown windows automatically — no CVE delay
risk.
- Docker groups deliberately don't restrict `update-types` since
digest-only re-pins don't reliably classify as "patch" in Dependabot's
semver model.

Signed-off-by: Quang Nguyen <nguyenquang@microsoft.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants