From aa09eff3c92ec7d252c324287932657f72ac7e48 Mon Sep 17 00:00:00 2001 From: Michael Valdron Date: Fri, 27 Mar 2026 18:13:17 -0400 Subject: [PATCH] migrate renovate config from redhat-ai-dev/llama-stack Signed-off-by: Michael Valdron --- .github/workflows/validation.yml | 6 ++-- renovate.json | 61 ++++++++++++++++++++++++++++++++ 2 files changed, 64 insertions(+), 3 deletions(-) create mode 100644 renovate.json diff --git a/.github/workflows/validation.yml b/.github/workflows/validation.yml index 5decd06..8b4d29a 100644 --- a/.github/workflows/validation.yml +++ b/.github/workflows/validation.yml @@ -28,9 +28,9 @@ jobs: contents: read steps: - name: Checkout code - uses: actions/checkout@v4 + uses: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5 # v4.3.1 - name: Use Node.js and cache dependencies - uses: actions/setup-node@v4 + uses: actions/setup-node@49933ea5288caeca8642d1e84afbd3f7d6820020 # v4.4.0 with: node-version: '22.21' cache: 'yarn' @@ -45,7 +45,7 @@ jobs: contents: read steps: - name: Checkout code - uses: actions/checkout@v4 + uses: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5 # v4.3.1 - name: Install yq run: | sudo wget -qO /usr/local/bin/yq https://github.com/mikefarah/yq/releases/download/v4.52.4/yq_linux_amd64 diff --git a/renovate.json b/renovate.json new file mode 100644 index 0000000..9e08a9d --- /dev/null +++ b/renovate.json @@ -0,0 +1,61 @@ +{ + "$schema": "https://docs.renovatebot.com/renovate-schema.json", + "extends": [ + "config:base", + "helpers:pinGitHubActionDigests", + ":gitSignOff" + ], + "timezone": "America/Toronto", + "schedule": [ + "* 19-23 * * 0", + "* 0-2 * * 1" + ], + "enabledManagers": [ + "github-actions", + "custom.regex", + "pep621", + "npm" + ], + "regexManagers": [], + "packageRules": [ + { + "matchUpdateTypes": ["major"], + "enabled": false + }, + { + "matchManagers": ["pep621"], + "matchPackageNames": ["python"], + "matchUpdateTypes": ["major", "minor"], + "enabled": false + }, + { + "matchDepNames": ["quay.io/redhat-ai-dev/rag-content"], + "extractVersion": "^release-(?\\d+\\.\\d+)-l(c|l)s", + "versioning": "loose" + }, + { + "matchManagers": ["github-actions"], + "groupName": "github actions", + "groupSlug": "github-actions", + "commitMessageTopic": "{{depName}}" + }, + { + "matchManagers": ["pep621"], + "groupName": "python deps", + "groupSlug": "python-deps", + "commitMessageTopic": "{{depName}}" + }, + { + "matchManagers": ["npm"], + "groupName": "npm deps", + "groupSlug": "npm-deps", + "commitMessageTopic": "{{depName}}" + } + ], + "vulnerabilityAlerts": { + "enabled": true + }, + "prHourlyLimit": 20, + "prConcurrentLimit": 10, + "labels": ["renovatebot"] +}