aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--.gitea/workflows/renovate.yml24
-rw-r--r--renovate.config.cjs4
-rw-r--r--renovate.json4
3 files changed, 32 insertions, 0 deletions
diff --git a/.gitea/workflows/renovate.yml b/.gitea/workflows/renovate.yml
new file mode 100644
index 0000000..654ef49
--- /dev/null
+++ b/.gitea/workflows/renovate.yml
@@ -0,0 +1,24 @@
+name: RenovateBot
+
+on:
+ schedule:
+ - cron: "@daily"
+ push:
+ branches:
+ - trunk
+
+jobs:
+ renovate:
+ container: ghcr.io/renovatebot/renovate:44
+ runs-on: ubuntu-latest
+
+ steps:
+ - name: Checkout code
+ uses: actions/checkout@v7
+ - name: Run renovate
+ run: renovate
+ env:
+ RENOVATE_GITHUB_COM_TOKEN: ${{ secrets.RENOVATE_GITHUB_COM_TOKEN }}
+ RENOVATE_CONFIG_FILE: renovate.config.cjs
+ RENOVATE_REPOSITORIES: ${{ gitea.repository }}
+ RENOVATE_TOKEN: ${{ secrets.RENOVATE_TOKEN }}
diff --git a/renovate.config.cjs b/renovate.config.cjs
new file mode 100644
index 0000000..fcf0bf9
--- /dev/null
+++ b/renovate.config.cjs
@@ -0,0 +1,4 @@
+module.exports = {
+ endpoint: "https://code.popov.link",
+ platform: "gitea",
+};
diff --git a/renovate.json b/renovate.json
new file mode 100644
index 0000000..22a9943
--- /dev/null
+++ b/renovate.json
@@ -0,0 +1,4 @@
+{
+ "$schema": "https://docs.renovatebot.com/renovate-schema.json",
+ "extends": ["config:recommended"]
+}