Skip to content
Merged
11 changes: 11 additions & 0 deletions .github/renovate.json5
Original file line number Diff line number Diff line change
@@ -1,3 +1,14 @@
{
extends: ["github>cloudquery/.github//.github/renovate-default.json5"],
customManagers: [
{
customType: "regex",
fileMatch: ["^\\.github/workflows/renovate\\.yml$"],
matchStrings: [
"RENOVATE_VERSION\\: [\"'](?<currentValue>[^\"']+)[\"']",
],
depNameTemplate: "renovatebot/renovate",
datasourceTemplate: "github-releases",
},
],
}
1 change: 1 addition & 0 deletions .github/self-hosted-renovate.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
module.exports = {
autodiscover: true,
onboarding: false,
repositoryCache: "enabled",
hostRules: [
{
matchHost: "maven.pkg.github.com",
Expand Down
12 changes: 11 additions & 1 deletion .github/workflows/renovate.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,17 +11,27 @@ concurrency:
permissions:
contents: read

env:
RENOVATE_VERSION: "43.46.6"

jobs:
renovate:
runs-on: ubicloud-standard-4
timeout-minutes: 180
steps:
- name: Checkout
uses: actions/checkout@v6
- name: Renovate cache
uses: actions/cache@v4
with:
path: /tmp/renovate/cache
key: renovate-cache-${{ env.RENOVATE_VERSION }}-${{ github.run_id }}
Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

restore-keys: |
renovate-cache-${{ env.RENOVATE_VERSION }}-
- name: Self-hosted Renovate
uses: renovatebot/github-action@v46.1.2
with:
renovate-version: "43.46.6"
renovate-version: ${{ env.RENOVATE_VERSION }}
configurationFile: .github/self-hosted-renovate.js
token: ${{ secrets.GH_CQ_BOT }}
env:
Expand Down
Loading