diff --git a/.github/workflows/renovate-9x.yml b/.github/workflows/renovate-9x.yml new file mode 100644 index 00000000..f1d1f9bb --- /dev/null +++ b/.github/workflows/renovate-9x.yml @@ -0,0 +1,26 @@ +name: Renovate-9x +on: + #schedule: + # Run every 4th hour + # - cron: '0 */4 * * *' + # Or run on demand + workflow_dispatch: + +jobs: + renovate: + runs-on: ubuntu-latest + steps: + - name: Checkout + uses: actions/checkout@v4.2.1 + - name: Self-hosted Renovate + uses: renovatebot/github-action@v40.3.4 + with: + configurationFile: solr/renovate-config-9x.js + renovate-version: 38.124.1-full + token: ${{ secrets.RENOVATE_TOKEN }} + env: + RENOVATE_FORK_TOKEN: ${{ secrets.RENOVATE_FORK_TOKEN }} + LOG_LEVEL: "info" + RENOVATE_DOCKER_USER: "1000:0" + RENOVATE_BINARY_SOURCE: "global" + RENOVATE_PR_FOOTER: "This PR has been generated by [Renovate Bot](https://github.com/solrbot/renovate-github-action)" diff --git a/solr/renovate-config-9x.js b/solr/renovate-config-9x.js new file mode 100644 index 00000000..c4bb5d80 --- /dev/null +++ b/solr/renovate-config-9x.js @@ -0,0 +1,12 @@ +module.exports = { + gitAuthor: 'SolrBot ', + onboarding: false, + requireConfig: "required", + platform: 'github', + forkProcessing: "disabled", + repositories: ['apache/solr'], + baseBranches: ["branch_9x"], + allowedPostUpgradeCommands: ["./gradlew.*"], + branchPrefix: "renovate-9x/", + dryRun: "extract", +};