Skip to content

Commit 1766844

Browse files
authored
Configure Dependabot to target develop branch (#54)
* fix: resolve 30 CodeQL alerts - Remove unused imports/variables, fix empty excepts, improve file permissions - Remove unused global variable (PathT) in path_security.py - Remove abstract method ellipsis statements in base_handler.py - Remove unused imports: Path from diff.py, struct from ole_handler.py, Any from office_handler.py, io from image_handler.py, os/Any from routes.py, tempfile from test_path_security.py, io/tempfile from test_handlers.py, pytest from test_registry.py, pytest from conftest.py - Replace empty except blocks with continue statements in office_handler.py, filesystem_handler.py, routes.py - Fix overly permissive file in test_path_security.py by using mode=0o700 for directory creation - Fix unused local variables: captured_temp_path in test_path_security.py, useCallback from App.jsx, useCallback from FilePanel.jsx, SortIcon component in FilePanel.jsx * fix: correct CodeQL resolution defects - Restore Any import, fix continue outside loops, remove unused TypeVar * ci: trigger CodeQL rescan * fix: resolve remaining 10 CodeQL alerts - Correct PR #53 merge issues * 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 6d6551e commit 1766844

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)