From a4cfe6f35485a22c88141ce46f7b604cec857eca Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jan=20H=C3=B8ydahl?= Date: Tue, 21 Feb 2023 15:45:56 +0100 Subject: [PATCH] Add Java to be able to run gradle --- .github/workflows/renovate.yml | 7 ++++++- solr/renovate-config.js | 5 ++--- 2 files changed, 8 insertions(+), 4 deletions(-) diff --git a/.github/workflows/renovate.yml b/.github/workflows/renovate.yml index 888643fd..ccb2114e 100644 --- a/.github/workflows/renovate.yml +++ b/.github/workflows/renovate.yml @@ -3,13 +3,18 @@ on: schedule: # The "*" (#42, asterisk) character has special semantics in YAML, so this # string has to be quoted. - - cron: '*/15 * * * *' + - cron: '*/5 * * * *' jobs: renovate: runs-on: ubuntu-latest steps: - name: Checkout uses: actions/checkout@v3.3.0 + - uses: actions/setup-java@v3 + with: + distribution: 'temurin' + java-version: '11' + cache: 'gradle' - name: Self-hosted Renovate uses: renovatebot/github-action@v34.143.1 with: diff --git a/solr/renovate-config.js b/solr/renovate-config.js index ad6d0f7e..23a57b9a 100644 --- a/solr/renovate-config.js +++ b/solr/renovate-config.js @@ -3,10 +3,9 @@ module.exports = { onboarding: false, requireConfig: false, platform: 'github', - includeForks: true, + includeForks: false, repositories: [ 'cominvent/renovate-test' ], - allowedPostUpgradeCommands: ["./gradlew.*"], - logFileLevel: "debug" + allowedPostUpgradeCommands: ["./gradlew.*"] };