From 7ccf1e5ac20badfbef0b2700f70532fbb95e3505 Mon Sep 17 00:00:00 2001 From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com> Date: Wed, 23 Apr 2025 20:34:44 +0000 Subject: [PATCH] Configure Renovate (#7606) Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> Co-authored-by: Connor Fitzgerald --- .github/workflows/ci.yml | 4 +-- .github/workflows/shaders.yml | 4 +-- renovate.json | 68 +++++++++++++++++++++++++++++++++++ 3 files changed, 72 insertions(+), 4 deletions(-) create mode 100644 renovate.json diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 2e5030c15..4f1997021 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -3,8 +3,8 @@ name: CI on: push: branches-ignore: [ - # We don't need to run on dependabot PRs. - "dependabot/**", + # We don't need to run on renovate PRs. + "renovate/**", # This is the branch the merge queue creates. "gh-readonly-queue/**", ] diff --git a/.github/workflows/shaders.yml b/.github/workflows/shaders.yml index d3a4ced51..da375c7f2 100644 --- a/.github/workflows/shaders.yml +++ b/.github/workflows/shaders.yml @@ -3,8 +3,8 @@ name: Shaders on: push: branches-ignore: [ - # We don't need to run on dependabot PRs. - "dependabot/**", + # We don't need to run on renovate PRs. + "renovate/**", # This is the branch the merge queue creates. "gh-readonly-queue/**", ] diff --git a/renovate.json b/renovate.json new file mode 100644 index 000000000..21781d358 --- /dev/null +++ b/renovate.json @@ -0,0 +1,68 @@ +{ + "$schema": "https://docs.renovatebot.com/renovate-schema.json", + "extends": ["config:recommended"], + "dependencyDashboard": true, + "prConcurrentLimit": 5, + "prHourlyLimit": 200, + "packageRules": [ + { + "matchUpdateTypes": ["patch"], + "matchCurrentVersion": "<1.0.0", + "groupName": "Minor Updates", + "description": "Patch updates to 0.x.y crates are treated as compatible by cargo" + }, + { + "matchUpdateTypes": ["minor", "patch"], + "matchCurrentVersion": ">=1.0.0", + "groupName": "Minor Updates", + "description": "Minor and patch updates to x.y.z crates are treated as compatible by cargo" + }, + { + "description": "IGNORE: Windows 0.59 is pending on https://github.com/gfx-rs/wgpu/pull/6876", + "matchPackageNames": ["windows", "windows-core"], + "matchCurrentVersion": "<0.59.0", + "enabled": false + }, + { + "description": "IGNORE: Winit 0.30 is pending a major refactor. https://github.com/gfx-rs/wgpu/pull/5709", + "matchPackageNames": ["winit"], + "matchCurrentVersion": "<0.30.0", + "enabled": false + }, + { + "description": "IGNORE: glutin 0.32 depends on winit 0.30", + "matchPackageNames": ["glutin"], + "matchCurrentVersion": "<0.32.0", + "enabled": false + }, + { + "description": "IGNORE: glutin-winit 0.5 depends on winit 0.30", + "matchPackageNames": ["glutin-winit"], + "matchCurrentVersion": "<0.5.0", + "enabled": false + }, + { + "description": "IGNORE: glutin 0.32 depends on winit 0.30, and previous version depend on rwh 0.5", + "matchPackageNames": ["raw-window-handle"], + "matchCurrentVersion": "<0.6.0", + "enabled": false + }, + { + "description": "IGNORE: libfuzzer-sys 0.4.8 has a broken build on Windows.", + "matchPackageNames": ["libfuzzer-sys"], + "matchCurrentVersion": "<0.5.0", + "enabled": false + }, + { + "description": "PERMA IGNORE: rustc-hash 2.0 is a different algorithm.", + "matchPackageNames": ["rustc-hash"], + "matchCurrentVersion": "<2", + "enabled": false + }, + { + "description": "PERMA IGNORE: Deno packages are rolled up explicitly by the Deno team, in lockstep with deno_webgpu.", + "matchPackageNames": ["deno_*"], + "enabled": false + } + ] +}