ci: add quarterly Dependabot scan for cargo and github-actions - #360
Open
soloking1412 wants to merge 1 commit into
Open
ci: add quarterly Dependabot scan for cargo and github-actions#360soloking1412 wants to merge 1 commit into
soloking1412 wants to merge 1 commit into
Conversation
Adapts xrpl-py's existing Dependabot config (quarterly interval, 15:00 UTC) to xrpl-rust's dependency surfaces: cargo for crate dependencies, github-actions for the pinned workflow action versions. Closes XRPLF#295
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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
High Level Overview of Change
Adds
.github/dependabot.yml, configuring a quarterly Dependabot scan for both dependency surfaces in this repo:cargo(the crate's own dependencies, declared inCargo.toml) andgithub-actions(the workflow files under.github/workflows/).Context of Change
Requested in #295, which points to xrpl-py's existing Dependabot config as the pattern to follow (
interval: quarterly,time: "15:00",open-pull-requests-limit: 30) — xrpl-py usespipas its ecosystem; the Rust equivalent iscargo.github-actionsis added alongside it since this repo has its own CI workflows with pinned action versions, and Dependabot is the mechanism that keeps those bump PRs flowing automatically.Type of Change
Before / After
Before: no
.github/dependabot.yml— dependency and Action-version updates are entirely manual.After:
open-pull-requests-limitis lower forgithub-actions(10 vs. 30) since this repo has only four workflow files and far fewer action references than crate dependencies.Test Plan
Validated the YAML parses and matches the Dependabot configuration schema (
version: 2, validpackage-ecosystemvalues, correctly nestedschedule). This is a config-only change — no code, nocargo testimpact.Closes #295