Skip to content

Add Cargo dependabot support#411

Merged
MikeMcQuaid merged 1 commit intomainfrom
dependabot-cargo
Mar 23, 2026
Merged

Add Cargo dependabot support#411
MikeMcQuaid merged 1 commit intomainfrom
dependabot-cargo

Conversation

@MikeMcQuaid
Copy link
Member

  • add cargo directories to the shared template
  • keep cargo updates when Cargo.toml is present

May be needed for Homebrew/brew#21774

- add cargo directories to the shared template
- keep cargo updates when Cargo.toml is present
Copilot AI review requested due to automatic review settings March 20, 2026 10:15
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Adds Cargo (Rust) Dependabot support to the shared Dependabot template and ensures the sync script keeps Cargo updates only when a Cargo.toml is present, aligning the org-wide config generation with repos that include Rust code (e.g., Homebrew/brew).

Changes:

  • Add Cargo ecosystem detection (Cargo.toml) to the shared sync script’s Dependabot filtering logic.
  • Add a Cargo Dependabot entry (with multi-directory support) to the shared Dependabot template.

Reviewed changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated no comments.

File Description
.github/actions/sync/shared-config.rb Recognizes cargo updates and filters them based on presence of Cargo.toml in configured directories.
.github/actions/sync/dependabot.template.yml Introduces a Cargo update block covering / and /Library/Homebrew/rust/brew-rs.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@MikeMcQuaid MikeMcQuaid marked this pull request as ready for review March 23, 2026 12:13
@MikeMcQuaid MikeMcQuaid merged commit 9211478 into main Mar 23, 2026
26 checks passed
@MikeMcQuaid MikeMcQuaid deleted the dependabot-cargo branch March 23, 2026 12:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants