Skip to content

Commit 9d90f41

Browse files
authored
chore: reduce Dependabot noise with weekly schedule and production-only updates (#1079)
This change reduces the noise from Dependabot PRs by making two adjustments: 1. Switching from daily to weekly update checks, which significantly reduces the number of PRs while still keeping dependencies reasonably up-to-date. 2. Limiting updates to production dependencies only, excluding devDependencies which are less critical for security and stability. We still have the projen updates that run more often. Dependabot was always just intended as a fallback. --- By submitting this pull request, I confirm that my contribution is made under the terms of the Apache-2.0 license
1 parent 089d83c commit 9d90f41

File tree

2 files changed

+7
-2
lines changed

2 files changed

+7
-2
lines changed

.github/dependabot.yml

Lines changed: 3 additions & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

.projenrc.ts

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1673,8 +1673,11 @@ new pj.YamlFile(repo, '.github/dependabot.yml', {
16731673
updates: [
16741674
{
16751675
'package-ecosystem': 'npm',
1676-
'schedule': { interval: 'daily' },
1676+
'schedule': { interval: 'weekly' },
16771677
'labels': ['auto-approve'],
1678+
'allow': [{
1679+
'dependency-type': 'production',
1680+
}],
16781681
'directories': ['/', ...repoProject.node.children
16791682
.filter(child => child instanceof TypeScriptWorkspace)
16801683
.map(ts => `/${path.relative(repoProject.outdir, ts.outdir)}`)

0 commit comments

Comments
 (0)