aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--.gitea/renovate.json15
-rw-r--r--.gitea/workflows/renovate.yml16
-rw-r--r--.github/dependabot.yml14
-rw-r--r--.github/renovate.json30
-rw-r--r--.github/workflows/mirror.yml15
-rw-r--r--renovate.config.cjs7
6 files changed, 38 insertions, 59 deletions
diff --git a/.gitea/renovate.json b/.gitea/renovate.json
new file mode 100644
index 0000000..f918098
--- /dev/null
+++ b/.gitea/renovate.json
@@ -0,0 +1,15 @@
+{
+ "$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/.gitea/workflows/renovate.yml b/.gitea/workflows/renovate.yml
new file mode 100644
index 0000000..ceab89e
--- /dev/null
+++ b/.gitea/workflows/renovate.yml
@@ -0,0 +1,16 @@
+name: RenovateBot
+on:
+ schedule:
+ - cron: "@daily"
+
+jobs:
+ renovate:
+ container: ghcr.io/renovatebot/renovate:40
+ runs-on: ubuntu-latest
+ steps:
+ - uses: actions/checkout@v4
+ - run: renovate
+ env:
+ RENOVATE_CONFIG_FILE: renovate.config.cjs
+ RENOVATE_REPOSITORIES: ${{ gitea.repository }}
+ RENOVATE_TOKEN: ${{ secrets.RENOVATE_TOKEN }}
diff --git a/.github/dependabot.yml b/.github/dependabot.yml
deleted file mode 100644
index 6fa3854..0000000
--- a/.github/dependabot.yml
+++ /dev/null
@@ -1,14 +0,0 @@
-version: 2
-updates:
- - package-ecosystem: "npm"
- directory: "/"
- schedule:
- interval: "weekly"
- - package-ecosystem: "github-actions"
- directory: "/"
- schedule:
- interval: "weekly"
- - package-ecosystem: "devcontainers"
- directory: "/"
- schedule:
- interval: "weekly"
diff --git a/.github/renovate.json b/.github/renovate.json
deleted file mode 100644
index bc629bb..0000000
--- a/.github/renovate.json
+++ /dev/null
@@ -1,30 +0,0 @@
-{
- "$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/.github/workflows/mirror.yml b/.github/workflows/mirror.yml
deleted file mode 100644
index f85936a..0000000
--- a/.github/workflows/mirror.yml
+++ /dev/null
@@ -1,15 +0,0 @@
-name: Mirror
-on: [push]
-
-jobs:
- mirror:
- runs-on: ubuntu-latest
- steps:
- - uses: actions/checkout@v4
- with:
- fetch-depth: 0
- - uses: yesolutions/mirror-action@master
- with:
- REMOTE: 'https://git.popov.link/popov.link.git'
- GIT_USERNAME: ${{ secrets.GIT_USERNAME }}
- GIT_PASSWORD: ${{ secrets.GIT_PASSWORD }}
diff --git a/renovate.config.cjs b/renovate.config.cjs
new file mode 100644
index 0000000..3872bb4
--- /dev/null
+++ b/renovate.config.cjs
@@ -0,0 +1,7 @@
+module.exports = {
+ endpoint: "https://code.popov.link",
+ gitAuthor: "RenovateBot <renovatebot@noreply.localhost>",
+ onboardingConfigFileName: ".gitea/renovate.json",
+ optimizeForDisabled: true,
+ platform: "gitea",
+};