Skip to content

Commit e4bfc1d

Browse files
committed
feat(gitversion): add dependabot configuration for versioning
- Introduces dependabot configuration to manage dependency updates automatically. - Enables continuous delivery mode and sets pre-release weight to 20000 for dependabot branches. - Configures merging behavior to prevent version increments on merged branches.
1 parent 8916ffa commit e4bfc1d

1 file changed

Lines changed: 10 additions & 0 deletions

File tree

GitVersion.yaml

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -55,6 +55,16 @@ branches:
5555
is-release-branch: true
5656
is-mainline: false
5757
pre-release-weight: 30000
58+
# ← insert this right above your “feature:” entry
59+
dependabot:
60+
regex: '^dependabot/.*'
61+
mode: ContinuousDelivery
62+
tag: 'dependabot'
63+
increment: Patch
64+
prevent-increment-of-merged-branch-version: true
65+
track-merge-target: false
66+
source-branches: [ main, develop ]
67+
pre-release-weight: 20000
5868
feature:
5969
mode: ContinuousDelivery
6070
tag: '{BranchName}'

0 commit comments

Comments
 (0)