-
Notifications
You must be signed in to change notification settings - Fork 0
chore: tame Dependabot version updates #95
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Changes from all commits
Commits
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or 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 |
|---|---|---|
| @@ -1,16 +1,57 @@ | ||
| version: 2 | ||
| updates: | ||
| - package-ecosystem: bun | ||
| directory: /frontend | ||
| - package-ecosystem: "bun" | ||
| directory: "/frontend" | ||
| schedule: | ||
| interval: weekly | ||
| interval: "weekly" | ||
| open-pull-requests-limit: 2 | ||
| groups: | ||
| routine-updates: | ||
| applies-to: version-updates | ||
| patterns: | ||
| - "*" | ||
| update-types: | ||
| - "minor" | ||
| - "patch" | ||
| ignore: | ||
| - dependency-name: "*" | ||
| update-types: | ||
| - "version-update:semver-major" | ||
|
|
||
| - package-ecosystem: cargo | ||
| directory: /frontend/src-tauri | ||
| - package-ecosystem: "cargo" | ||
| directory: "/frontend/src-tauri" | ||
| schedule: | ||
| interval: weekly | ||
| interval: "weekly" | ||
| open-pull-requests-limit: 2 | ||
| groups: | ||
| routine-updates: | ||
| applies-to: version-updates | ||
| patterns: | ||
| - "*" | ||
| update-types: | ||
| - "minor" | ||
| - "patch" | ||
| ignore: | ||
| - dependency-name: "*" | ||
| update-types: | ||
| - "version-update:semver-major" | ||
|
|
||
| - package-ecosystem: github-actions | ||
| directory: / | ||
| - package-ecosystem: "github-actions" | ||
| directory: "/" | ||
| schedule: | ||
| interval: weekly | ||
| interval: "weekly" | ||
| open-pull-requests-limit: 2 | ||
| groups: | ||
| routine-updates: | ||
| applies-to: version-updates | ||
| patterns: | ||
| - "*" | ||
| update-types: | ||
| - "minor" | ||
| - "patch" | ||
| ignore: | ||
| - dependency-name: "*" | ||
| update-types: | ||
| - "version-update:semver-major" | ||
| # The Rust release is pinned deliberately in CI and release workflows. | ||
| - dependency-name: "dtolnay/rust-toolchain" | ||
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🔒 Security & Privacy | 🛡️ Analyzed with Security Review | 🟠 Major | ⚡ Quick win
🧩 Analysis chain
🏁 Script executed:
Repository: PeeeBrain/latch
Length of output: 1913
🌐 Web query:
site:docs.github.com Dependabot ignore update-types version-update semver security updates dependency-name💡 Result:
<search_synthesis>
You can use the ignore option in your dependabot.yml configuration file to prevent Dependabot from creating pull requests for specific dependencies or update types [1][2][3]. Key points regarding the configuration: - Configuration Location: You define these rules under the ignore key within your dependabot.yml file [1][4]. - Dependency Name: Use the dependency-name parameter to target specific packages [2][3]. You can use the wildcard character * to match zero or more characters (e.g., to ignore a range of related libraries) [4][5]. - Update Types: Use the update-types parameter to ignore specific semantic versioning levels [2][3]. Supported values include version-update:semver-patch, version-update:semver-minor, and version-update:semver-major [2][5]. - Security Updates Note: The update-types configuration only applies to version updates [1][2]. Security updates are exempt from these restrictions and will continue to be generated regardless of your update-types settings [1]. Example Configuration: To ignore all patch updates for a specific dependency, you can use the following syntax [1][3]: updates: - package-ecosystem: "npm" directory: "/" schedule: interval: "weekly" ignore: - dependency-name: "
@types/node" update-types: ["version-update:semver-patch"] Additionally, you can use@dependabotignore comment commands directly on existing pull requests to manage these preferences without modifying the configuration file [1][6]. If a dependency is matched by both an allow rule and an ignore rule, the ignore rule takes precedence [5][3].</search_synthesis>
<source_evidence>
Citations:
Security Misconfiguration
Reachability: External
CWE: CWE-16
Scope the
dtolnay/rust-toolchainignore rule to version updates only. The dependency-specific rule currently ignores all update types. Addversion-update:semver-minorandversion-update:semver-patch. Dependabot will continue creating security updates, becauseupdate-typesapplies only to version updates.🤖 Prompt for AI Agents