aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--.gitea/workflows/renovate.yml10
-rw-r--r--.renovaterc30
-rw-r--r--renovate.config.cjs6
-rw-r--r--renovate.json4
4 files changed, 41 insertions, 9 deletions
diff --git a/.gitea/workflows/renovate.yml b/.gitea/workflows/renovate.yml
index ae01632..22230c0 100644
--- a/.gitea/workflows/renovate.yml
+++ b/.gitea/workflows/renovate.yml
@@ -5,7 +5,7 @@ on:
- cron: "@daily"
push:
branches:
- - trunk
+ - master
jobs:
renovate:
@@ -15,10 +15,14 @@ jobs:
steps:
- name: Checkout code
uses: actions/checkout@v7
+
- name: Run renovate
- run: renovate
+ run: |
+ renovate
env:
- RENOVATE_GITHUB_COM_TOKEN: ${{ secrets.RENOVATE_GITHUB_TOKEN }}
+ GITHUB_COM_TOKEN: ${{ secrets.RENOVATE_GITHUB_TOKEN }}
+ LOG_LEVEL: ${{ vars.RENOVATE_LOG_LEVEL }}
RENOVATE_CONFIG_FILE: renovate.config.cjs
+ RENOVATE_LOG_LEVEL: ${{ vars.RENOVATE_LOG_LEVEL }}
RENOVATE_REPOSITORIES: ${{ gitea.repository }}
RENOVATE_TOKEN: ${{ secrets.RENOVATE_TOKEN }}
diff --git a/.renovaterc b/.renovaterc
new file mode 100644
index 0000000..bc629bb
--- /dev/null
+++ b/.renovaterc
@@ -0,0 +1,30 @@
+{
+ "$schema": "https://docs.renovatebot.com/renovate-schema.json",
+ "extends": [
+ "config:recommended",
+ ":disableDependencyDashboard"
+ ],
+ "assignees": [
+ "valentineus"
+ ],
+ "labels": [
+ "dependencies",
+ "automated"
+ ],
+ "packageRules": [
+ {
+ "groupName": "all digest updates",
+ "groupSlug": "all-digest",
+ "matchUpdateTypes": [
+ "minor",
+ "patch",
+ "pin",
+ "digest"
+ ],
+ "matchPackageNames": [
+ "*"
+ ],
+ "automerge": true
+ }
+ ]
+}
diff --git a/renovate.config.cjs b/renovate.config.cjs
index fcf0bf9..ad40350 100644
--- a/renovate.config.cjs
+++ b/renovate.config.cjs
@@ -1,4 +1,6 @@
module.exports = {
- endpoint: "https://code.popov.link",
- platform: "gitea",
+ endpoint: "https://code.popov.link",
+ gitAuthor: "renovate[bot] <renovatebot@noreply.localhost>",
+ optimizeForDisabled: true,
+ platform: "gitea",
};
diff --git a/renovate.json b/renovate.json
deleted file mode 100644
index 22a9943..0000000
--- a/renovate.json
+++ /dev/null
@@ -1,4 +0,0 @@
-{
- "$schema": "https://docs.renovatebot.com/renovate-schema.json",
- "extends": ["config:recommended"]
-}