aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorValentin Popov <valentin@popov.link>2024-07-09 21:25:54 +0300
committerValentin Popov <valentin@popov.link>2024-07-09 21:25:54 +0300
commit266747bae571a496b0805a6d1070c7fcd29757db (patch)
tree7ead433d3d634554da8d8c59df3431bd28c2b46d
parent487f60f4512bbe061091b620712ba3982b0f045f (diff)
downloadpopov.link-266747bae571a496b0805a6d1070c7fcd29757db.tar.xz
popov.link-266747bae571a496b0805a6d1070c7fcd29757db.zip
Added Gitea workflows
-rw-r--r--.gitea/.gitea/workflows/renovate.yml26
-rw-r--r--.github/workflows/.gitkeep0
-rw-r--r--.github/workflows/mirror.yml17
-rw-r--r--.renovaterc24
-rw-r--r--renovate.config.cjs6
5 files changed, 56 insertions, 17 deletions
diff --git a/.gitea/.gitea/workflows/renovate.yml b/.gitea/.gitea/workflows/renovate.yml
new file mode 100644
index 0000000..5c3c468
--- /dev/null
+++ b/.gitea/.gitea/workflows/renovate.yml
@@ -0,0 +1,26 @@
+name: RenovateBot
+
+on:
+ schedule:
+ - cron: "@daily"
+ push:
+ branches:
+ - master
+
+jobs:
+ renovate:
+ container: ghcr.io/renovatebot/renovate:37
+ runs-on: ubuntu-latest
+
+ steps:
+ - name: Checkout code
+ uses: actions/checkout@v4
+
+ - name: Run renovate
+ run: |
+ renovate
+ env:
+ LOG_LEVEL: debug
+ RENOVATE_CONFIG_FILE: renovate.config.cjs
+ RENOVATE_REPOSITORIES: ${{ gitea.repository }}
+ RENOVATE_TOKEN: ${{ secrets.RENOVATE_TOKEN }}
diff --git a/.github/workflows/.gitkeep b/.github/workflows/.gitkeep
new file mode 100644
index 0000000..e69de29
--- /dev/null
+++ b/.github/workflows/.gitkeep
diff --git a/.github/workflows/mirror.yml b/.github/workflows/mirror.yml
deleted file mode 100644
index ec1bbfe..0000000
--- a/.github/workflows/mirror.yml
+++ /dev/null
@@ -1,17 +0,0 @@
-name: Workflow
-
-on: [push]
-
-jobs:
- mirror:
- runs-on: ubuntu-latest
- steps:
- - uses: actions/checkout@v3
- with:
- fetch-depth: 0
-
- - uses: yesolutions/mirror-action@master
- with:
- REMOTE: 'https://git.popov.link/valentineus.github.io.git'
- GIT_USERNAME: ${{ secrets.GIT_USERNAME }}
- GIT_PASSWORD: ${{ secrets.GIT_PASSWORD }}
diff --git a/.renovaterc b/.renovaterc
new file mode 100644
index 0000000..0a18c62
--- /dev/null
+++ b/.renovaterc
@@ -0,0 +1,24 @@
+{
+ "assignees": [
+ "valentineus"
+ ],
+ "extends": [
+ "config:recommended",
+ ":disableDependencyDashboard"
+ ],
+ "packageRules": [
+ {
+ "groupName": "all digest updates",
+ "groupSlug": "all-digest",
+ "matchPackagePatterns": [
+ "*"
+ ],
+ "matchUpdateTypes": [
+ "minor",
+ "patch",
+ "pin",
+ "digest"
+ ]
+ }
+ ]
+}
diff --git a/renovate.config.cjs b/renovate.config.cjs
new file mode 100644
index 0000000..44bc458
--- /dev/null
+++ b/renovate.config.cjs
@@ -0,0 +1,6 @@
+module.exports = {
+ endpoint: "https://code.popov.link",
+ gitAuthor: "RenovateBot <renovatebot@noreply.localhost>",
+ optimizeForDisabled: true,
+ platform: "gitea",
+};