-
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add npm/yarn and pip package ecosystems for daily check and auto update dependencies. Signed-off-by: "XOwlPost" <XOfidelius@proton.me>
- Loading branch information
Showing
1 changed file
with
23 additions
and
0 deletions.
There are no files selected for viewing
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
version: 2 | ||
updates: | ||
# JavaScript (npm/yarn) dependencies in the root directory | ||
- package-ecosystem: "npm" | ||
directory: "/" # Root directory where package.json and package-lock.json/yarn.lock are located | ||
schedule: | ||
interval: "daily" | ||
# Optional: Open pull requests only for major version updates | ||
allow: | ||
- dependency-type: "direct" | ||
update-types: ["version-update:semver-major"] | ||
|
||
# Python (pip) dependencies in a subdirectory (e.g., 'backend/') | ||
- package-ecosystem: "pip" | ||
directory: "/backend/" # Directory where the Python project and its 'requirements.txt' or 'Pipfile' are located | ||
schedule: | ||
interval: "daily" | ||
# Optional: Open pull requests for both direct and indirect (transitive) dependency updates | ||
allow: | ||
- dependency-type: "all" | ||
|
||
# Add more ecosystems as needed | ||
# - package-ecosystem:... |