mirror of
https://github.com/allankoechke/rust.git
synced 2026-11-30 11:05:36 +00:00
49 lines
1.5 KiB
Plaintext
49 lines
1.5 KiB
Plaintext
{
|
|
$schema: "https://docs.renovatebot.com/renovate-schema.json",
|
|
extends: [
|
|
"config:recommended",
|
|
":maintainLockFilesMonthly",
|
|
"helpers:pinGitHubActionDigestsToSemver"
|
|
],
|
|
commitMessagePrefix: "deps:",
|
|
customManagers: [
|
|
{
|
|
customType: "regex",
|
|
managerFilePatterns: [".github/workflows/main.yaml"],
|
|
matchStrings: ["BENCHMARK_RUSTC:\\s*(?<currentValue>\\S+)"],
|
|
autoReplaceStringTemplate: "BENCHMARK_RUSTC: {{{newValue}}}",
|
|
depNameTemplate: "nightly",
|
|
datasourceTemplate: "rust-version",
|
|
versioningTemplate: "rust-release-channel",
|
|
},
|
|
],
|
|
packageRules: [
|
|
{
|
|
matchCategories: ["rust"],
|
|
matchJsonata: ["isBreaking != true"],
|
|
// Disable non-breaking change updates because they
|
|
// are updated periodically with lockfile maintainance.
|
|
enabled: false,
|
|
},
|
|
{
|
|
matchManagers: ["github-actions"],
|
|
// Every month
|
|
schedule: "* 0 1 * *",
|
|
commitMessagePrefix: "ci:",
|
|
groupName: "Github Actions",
|
|
},
|
|
{
|
|
matchManagers: ["custom.regex"],
|
|
commitMessage: "bench: Update pinned toolchain to {{{newVersion}}}",
|
|
},
|
|
],
|
|
// Receive any update that fixes security vulnerabilities.
|
|
// We need this because we disabled "patch" updates for Rust.
|
|
// Note: You need to enable "Dependabot alerts" in "Code security" GitHub
|
|
// Settings to receive security updates.
|
|
// See https://docs.renovatebot.com/configuration-options/#vulnerabilityalerts
|
|
vulnerabilityAlerts: {
|
|
enabled: true,
|
|
},
|
|
}
|