mirror of
https://github.com/bitwarden/clients.git
synced 2026-11-16 07:03:29 +00:00
[PM-40663] Enforce 7-day cargo publish age for Renovate (#23668)
This commit is contained in:
4
.cargo/config.toml
Normal file
4
.cargo/config.toml
Normal file
@@ -0,0 +1,4 @@
|
||||
# This matches what is configured in renovate, and the corporate policy at
|
||||
# commit time.
|
||||
[registry]
|
||||
global-min-publish-age = "7 days"
|
||||
5
.github/renovate.json5
vendored
5
.github/renovate.json5
vendored
@@ -2,6 +2,11 @@
|
||||
$schema: "https://docs.renovatebot.com/renovate-schema.json",
|
||||
extends: ["github>bitwarden/renovate-config"], // Extends our default configuration for pinned dependencies
|
||||
enabledManagers: ["cargo", "github-actions", "npm", "custom.regex"],
|
||||
// Renovate's current default Rust (1.99) ignores
|
||||
// registry.global-min-publish-age in .cargo/config.toml. Remove once
|
||||
// Renovate installs Rust 1.100+ This should be in stable 2026-11-12,
|
||||
// but double check before removing this line.
|
||||
constraints: { rust: "nightly-2026-09-25" },
|
||||
customManagers: [
|
||||
{
|
||||
// Pinned binary cargo tools declared in [workspace.metadata.bin]. These are
|
||||
|
||||
Reference in New Issue
Block a user