From 3d1e81aae3fa1c44b64fdc0a01c3c4d46e16e6ed Mon Sep 17 00:00:00 2001 From: Oliver Lippert Date: Sun, 21 Jan 2024 10:01:14 +0100 Subject: [PATCH] introduce renovate --- .gitea/workflows/renovate.yml | 29 +++++++++++++++++++++++++++++ renovate.json | 14 ++++++++++++++ 2 files changed, 43 insertions(+) create mode 100644 .gitea/workflows/renovate.yml create mode 100644 renovate.json diff --git a/.gitea/workflows/renovate.yml b/.gitea/workflows/renovate.yml new file mode 100644 index 0000000..d48bec2 --- /dev/null +++ b/.gitea/workflows/renovate.yml @@ -0,0 +1,29 @@ +name: renovate + +on: + workflow_dispatch: + + schedule: + - cron: "0 0 * * *" + + push: + branches: + - main + +jobs: + renovate: + runs-on: ubuntu-latest + container: ghcr.io/renovatebot/renovate@sha256:e21ca1043a6fd060fb58947b2981dae7a1dcd35ec03acf8b4e89ceacdcd2b062 # 37.140.10 + steps: + - name: Checkout + uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1 + + - name: Renovate + run: renovate + env: + LOG_LEVEL: "debug" + RENOVATE_CONFIG_FILE: "${{ github.workspace }}/renovate.json" + RENOVATE_ENDPOINT: https://git.keine.cloud/api/v1 + RENOVATE_TOKEN: ${{ secrets.RENOVATE_TOKEN }} + RENOVATE_REPOSITORIES: ${{ format('["{0}"]', github.repository) }} + GITHUB_COM_TOKEN: ${{ secrets.GH_TOKEN }} diff --git a/renovate.json b/renovate.json new file mode 100644 index 0000000..4936d35 --- /dev/null +++ b/renovate.json @@ -0,0 +1,14 @@ +{ + "$schema": "https://docs.renovatebot.com/renovate-schema.json", + "extends": [ + "config:base", + "helpers:pinGitHubActionDigests" + ], + "platform": "gitea", + "automerge": false, + "semanticCommits": "enabled", + "semanticCommitType": "build", + "semanticCommitScope": "deps", + "dependencyDashboard": false, + "prHourlyLimit": 0 +}