From 87e4ebd0b1e3f227bfeed9686c227e245b9eb3eb Mon Sep 17 00:00:00 2001 From: nulfrost Date: Fri, 23 Aug 2024 22:48:05 -0400 Subject: [PATCH] ci: add renovate workflow --- .github/renovate.json5 | 25 +++++++++++++++++++++++++ .github/workflows/renovate.yml | 15 +++++++++++++++ 2 files changed, 40 insertions(+) create mode 100644 .github/renovate.json5 create mode 100644 .github/workflows/renovate.yml diff --git a/.github/renovate.json5 b/.github/renovate.json5 new file mode 100644 index 0000000..436d96b --- /dev/null +++ b/.github/renovate.json5 @@ -0,0 +1,25 @@ +{ + branchPrefix: "maintenance/", + username: "renovate-release", + gitAuthor: "Renovate Bot ", + onboarding: false, + prConcurrentLimit: 0, + prHourlyLimit: 5, + platform: "github", + repositories: ["nulfrost/dane.computer"], + packageRules: [ + { + description: "lockFileMaintenance", + matchUpdateTypes: [ + "pin", + "digest", + "patch", + "minor", + "lockFileMaintenance", + ], + autoMerge: true, + dependencyDashboardApproval: false, + minimumReleaseAge: 0, + }, + ], +} diff --git a/.github/workflows/renovate.yml b/.github/workflows/renovate.yml new file mode 100644 index 0000000..978cd52 --- /dev/null +++ b/.github/workflows/renovate.yml @@ -0,0 +1,15 @@ +name: Renovate +on: + schedule: + - cron: "0 9 * * 1" +jobs: + renovate: + runs-on: ubuntu-latest + steps: + - name: Checkout + uses: actions/checkout@v4.1.7 + - name: Self-hosted Renovate + uses: renovatebot/github-action@v40.2.6 + with: + configurationFile: .github/renovate.json5 + token: ${{ secrets.RENOVATE_TOKEN }} -- 2.51.2