Skip to content

Commit 3082062

Browse files
authored
🔧 [dependabot] Reduce merge conflicts using the lockfile-only strategy (#746)
Dependabot updates version constraints in pyproject.toml even when the version constraint already covers the new version, leading to frequent merge conflicts because the global content hash in poetry.lock changes. As of #744, this project template no longer uses upper version bounds for its dependencies. As a result, we are now able to use the "lockfile-only" versioning strategy to upgrade dependencies, including major version bumps. This strategy prevents Dependabot from modifying pyproject.toml, putting an end to the frequent merge conflicts.
1 parent fc3633d commit 3082062

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

.github/dependabot.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,3 +16,4 @@ updates:
1616
directory: "/"
1717
schedule:
1818
interval: daily
19+
versioning-strategy: lockfile-only

0 commit comments

Comments
 (0)