Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
15 changes: 3 additions & 12 deletions .github/renovate.json5
Original file line number Diff line number Diff line change
Expand Up @@ -12,16 +12,6 @@
$schema: "https://docs.renovatebot.com/renovate-schema.json",
extends: ["github>firsttris/workflows//renovate/default.json5"],
customManagers: [
{
// "packageManager": "bun@x.y.z": the Bun of every workflow (bun-version-file, and the
// npm-installed Bun of the screenshots job)
customType: "regex",
managerFilePatterns: ["/^package\\.json$/"],
matchStrings: ['"packageManager": "bun@(?<currentValue>\\d+\\.\\d+\\.\\d+)"'],
depNameTemplate: "oven-sh/bun",
datasourceTemplate: "github-releases",
extractVersionTemplate: "^bun-v(?<version>.+)$",
},
{
// `cargo install cargo-chef --version x.y.z` in docker/Dockerfile
customType: "regex",
Expand Down Expand Up @@ -56,8 +46,9 @@
},
{
// Bun: the image's web stage (oven/bun) and packageManager in package.json in one PR, so CI
// tests the Bun the image builds with
matchPackageNames: ["docker.io/oven/bun", "oven/bun", "oven-sh/bun"],
// tests the Bun the image builds with. Renovate's bun manager reads "packageManager":
// "bun@x.y.z" itself, as the npm package `bun` (no regex manager needed).
matchPackageNames: ["docker.io/oven/bun", "oven/bun", "bun"],
enabled: true,
groupName: "Bun",
sourceUrl: "https://github.com/oven-sh/bun",
Expand Down
Loading