Skip to content
Merged
Show file tree
Hide file tree
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
21 changes: 19 additions & 2 deletions .github/renovate.json5
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
"helpers:pinGitHubActionDigests",
],
baseBranchPatterns: ["master"],
enabledManagers: ["github-actions", "pep621"],
enabledManagers: ["github-actions", "pep621", "custom.regex"],
ignorePresets: [":prHourlyLimit2"],
prHourlyLimit: 10,
packageRules: [
Expand All @@ -28,10 +28,27 @@
enabled: true,
separateMajorMinor: false,
groupName: "GitHub Actions",
matchManagers: ["github-actions"],
matchManagers: ["github-actions", "custom.regex"],
schedule: ["* * 1 * *"],
matchPackageNames: ["*"],
},
// uv version used in GitHub Actions is updated manually
{
enabled: false,
matchDatasources: ["github-releases"],
matchDepNames: ["astral-sh/uv"],
matchDepTypes: ["uses-with"],
},
],
// Is used to upgrade Renovate version
customManagers: [
{
fileMatch: ["^\\.github/workflows/[^/]+\\.ya?ml$"],
matchStrings: [
"# renovate: datasource=(?<datasource>.*?) depName=(?<depName>.*?)\\s+.+version: (?<currentValue>.*)",
"# renovate: datasource=(?<datasource>.*?)\\s+export RENOVATE_IMAGE=(?<depName>[^:]+):(?<currentValue>[^@]+)(?:@(?<currentDigest>sha256:[a-f0-9]+))?",
Comment thread
AlexanderBarabanov marked this conversation as resolved.
],
},
],
vulnerabilityAlerts: {
enabled: true,
Expand Down
4 changes: 3 additions & 1 deletion .github/workflows/renovate-config-validator.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,9 @@ jobs:
egress-policy: block
allowed-endpoints: >
files.pythonhosted.org:443
ghcr.io:443
github.com:443
pkg-containers.githubusercontent.com:443
pypi.org:443
raw.githubusercontent.com:443
releases.astral.sh:443
Expand All @@ -50,7 +52,7 @@ jobs:
- name: Validate configuration
run: |
# renovate: datasource=docker
export RENOVATE_IMAGE=ghcr.io/renovatebot/renovate:43.185
export RENOVATE_IMAGE=ghcr.io/renovatebot/renovate:43.160.2@sha256:e977df2dbd4b978cc301a0b4d8e0162ec4ce08bd205422c02c4cf55f52b67336
docker run --rm --entrypoint "renovate-config-validator" \
-v "${{ github.workspace }}/.github/renovate.json5":"/renovate.json5" \
${RENOVATE_IMAGE} "/renovate.json5"
2 changes: 2 additions & 0 deletions .github/workflows/renovate.yml
Original file line number Diff line number Diff line change
Expand Up @@ -87,6 +87,8 @@ jobs:
- name: Self-hosted Renovate
uses: renovatebot/github-action@693b9ef15eec82123529a37c782242f091365961 # v46.1.14
with:
# renovate: datasource=github-releases depName=renovatebot/renovate
renovate-version: 43.160.7
configurationFile: .github/renovate.json5
token: "${{ steps.get-github-app-token.outputs.token }}"
env:
Expand Down
Loading