chore: limit Dependabot development updates to minor and patch - #1691
Merged
wenyt (wenytang-ms) merged 2 commits intoSep 7, 2026
Merged
Conversation
Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
wenyt (wenytang-ms)
requested review from
Changyong Gong (chagong),
Sheng Chen (jdneo) and
Jinbo Wang (testforstephen)
as code owners
September 7, 2026 08:11
|
Azure Pipelines: There may be pipelines that require an authorized user to comment /azp run to run. |
Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
There was a problem hiding this comment.
🟢 Approval recommended
The YAML is valid and the Dependabot rules match the stated intent without affecting the existing schedules/cooldowns for npm or GitHub Actions.
Pull request overview
This PR refines the repository’s Dependabot configuration to reduce unplanned major version churn for npm development dependencies, while keeping production dependencies eligible for all semver update types and preserving existing schedules/cooldowns.
Changes:
- Add
allowrules to restrict development dependency version updates to minor/patch while leaving production unrestricted. - Configure npm Dependabot commit/PR title prefixes to distinguish
chore(deps)(production) vschore(dev-deps)(development).
File summaries
| File | Description |
|---|---|
| .github/dependabot.yml | Adds allow-rules to limit dev-dep semver bumps to minor/patch and sets distinct commit-message prefixes for prod vs dev npm updates. |
Review details
- Files reviewed: 1/1 changed files
- Comments generated: 0
- Review effort level: Lite
💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.
Changyong Gong (chagong)
approved these changes
Sep 7, 2026
wenyt (wenytang-ms)
deleted the
wenytang-ms-dependabot-development-update-policy
branch
September 7, 2026 08:31
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
update-typesinallowrules limits version updates only, not security updates.chore(deps): ...for production dependencies andchore(dev-deps): ...for development dependencies.Scope
Only
.github/dependabot.ymlchanges. The daily npm schedule, 10-day npm cooldown and Central Feed Service rationale comments remain unchanged. All GitHub Actions settings remain unchanged, including the weekly schedule, grouping and 7-day cooldown.This PR starts from
mainand contains no package manifest, lockfile or TypeScript changes and no automerge rules.Reference
GitHub's Dependabot
allowreference supports combiningdependency-typewithupdate-types; omittingupdate-typeskeeps all version update types eligible for that rule.GitHub's Dependabot
commit-messagereference supports separate production and development prefixes for npm and applies them to both commit messages and PR titles.