From 0108e1629f4b8f92d08ae5c23698b984626610e2 Mon Sep 17 00:00:00 2001 From: Jash Parekh Date: Fri, 28 Oct 2022 21:13:59 +0530 Subject: [PATCH] Add renovate configuration (#33) --- .github/workflows/renovate-lint.yml | 19 +++++++++++++++++++ renovate.json | 17 +++++++++++++++++ 2 files changed, 36 insertions(+) create mode 100644 .github/workflows/renovate-lint.yml create mode 100644 renovate.json diff --git a/.github/workflows/renovate-lint.yml b/.github/workflows/renovate-lint.yml new file mode 100644 index 0000000..3d35982 --- /dev/null +++ b/.github/workflows/renovate-lint.yml @@ -0,0 +1,19 @@ +name: Lint Renovate Config + +on: + # Trigger the workflow on push or pull request, + # but only for the main branch + pull_request: {} + push: + branches: ["main"] + +jobs: + renovate: + runs-on: ubuntu-latest + steps: + - name: Check out code + uses: actions/checkout@v3 + - name: 🧼 Lint # Validates changes to renovate.json config file + uses: suzuki-shunsuke/github-action-renovate-config-validator@v0.1.2 + with: + config_file_path: 'renovate.json' diff --git a/renovate.json b/renovate.json new file mode 100644 index 0000000..e9520fa --- /dev/null +++ b/renovate.json @@ -0,0 +1,17 @@ +{ + "$schema": "https://docs.renovatebot.com/renovate-schema.json", + "labels": [ + "renovate/{{depName}}" + ], + "extends": [ + "config:base", + "schedule:earlyMondays", + ":dependencyDashboard", + ":rebaseStalePrs" + ], + "enabledManagers": [ + "docker-compose", + "github-actions", + "pip_requirements" + ] +}