Skip to content

Commit 4ca94ed

Browse files
committed
chore: configure dependabot to target develop branch for version updates
- Add target-branch: develop to all 3 package ecosystems (pip, npm electron, npm frontend) - Add rebase-strategy: auto for automatic conflict resolution - Preserve existing labels for better PR organization - NOTE: Security updates will still target main (GitHub limitation) - See docs for details on managing existing open PRs
1 parent b7a3e8d commit 4ca94ed

1 file changed

Lines changed: 18 additions & 0 deletions

File tree

.github/dependabot.yml

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,13 +6,26 @@ updates:
66
schedule:
77
interval: weekly
88
open-pull-requests-limit: 5
9+
# Route version-update PRs to develop (dev branch); main is release-only.
10+
# NOTE: Dependabot *security* updates ignore target-branch and always
11+
# target the default branch (main). See README/notes below.
12+
target-branch: develop
13+
rebase-strategy: auto
14+
labels:
15+
- dependencies
16+
- python
917

1018
# Node.js (Electron)
1119
- package-ecosystem: npm
1220
directory: /electron
1321
schedule:
1422
interval: weekly
1523
open-pull-requests-limit: 5
24+
target-branch: develop
25+
rebase-strategy: auto
26+
labels:
27+
- dependencies
28+
- javascript
1629
ignore:
1730
# tar vulnerabilities - no upstream fix available
1831
# These are false positives for a desktop app: hardlink traversal/symlink poisoning
@@ -29,3 +42,8 @@ updates:
2942
schedule:
3043
interval: weekly
3144
open-pull-requests-limit: 5
45+
target-branch: develop
46+
rebase-strategy: auto
47+
labels:
48+
- dependencies
49+
- javascript

0 commit comments

Comments
 (0)