Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Group dependabot updates to reduce noise/frequency for devDependencies/etc #125

Open
0xdevalias opened this issue Sep 25, 2024 · 1 comment

Comments

@0xdevalias
Copy link

0xdevalias commented Sep 25, 2024

I wonder if it might be useful to configure dependabot to differentiate between production and dev dependencies; and have them operate on different timelines.

I'm currently subscribed to all notifications on this repo, and often see pretty regular updates/churn in 'low value' dependencies; and I was thinking maybe that noise could be turned down by grouping those and updating it less frequently.

We can see that a good number of those PR's are for devDependencies:

humanify/package.json

Lines 49 to 72 in 7d26cdb

"dependencies": {
"@babel/core": "^7.25.2",
"@babel/types": "^7.25.2",
"@google/generative-ai": "^0.19.0",
"@types/babel__core": "^7.20.5",
"babel-plugin-transform-beautifier": "^0.1.0",
"commander": "^12.1.0",
"dotenv": "^16.4.5",
"node-llama-cpp": "^3.0.0-beta.40",
"openai": "^4.55.1",
"tsx": "^4.16.2",
"typescript": "^5.5.4",
"webcrack": "^2.13.0"
},
"devDependencies": {
"@eslint/js": "^9.8.0",
"@types/node": "^22.0.0",
"eslint": "^9.8.0",
"eslint-plugin-unused-imports": "^4.1.2",
"globals": "^15.8.0",
"pkgroll": "^2.4.2",
"prettier": "^3.3.3",
"typescript-eslint": "^8.0.0"
}

We can see the current configuration is pretty basic:

version: 2
updates:
- package-ecosystem: npm
directory: "/"
schedule:
interval: daily
open-pull-requests-limit: 1000000

Some starting points for the docs/etc:

For example, you could restrict version (not security) updates to once per week, or perhaps once per week just for devDependencies, or maybe ignoring patch releases for devDependencies or similar.

@0xdevalias
Copy link
Author

Todays example of noisy churn:

image

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

No branches or pull requests

1 participant