aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorValentin Popov <valentin@popov.link>2026-10-19 23:56:05 +0300
committerValentin Popov <valentin@popov.link>2026-10-19 23:56:05 +0300
commit183dd27a2bdc3b1a2b61246a6b5a0655d433d62d (patch)
treee96ff595ba064466feb8a8cf63e2c6914c5454d8
parent9954c7405872f5025ad1a809f3174c6b6ff2e715 (diff)
downloadfparkan-183dd27a2bdc3b1a2b61246a6b5a0655d433d62d.tar.xz
fparkan-183dd27a2bdc3b1a2b61246a6b5a0655d433d62d.zip
chore(ci): add Renovate workflow
-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"]
+}