aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--.gitea/workflows/renovate.yml18
-rw-r--r--.github/dependabot.yml14
-rw-r--r--.github/renovate.json (renamed from renovate.json)10
-rw-r--r--.github/workflows/ci.yml (renamed from .gitea/workflows/ci.yml)4
-rw-r--r--renovate.config.cjs6
5 files changed, 21 insertions, 31 deletions
diff --git a/.gitea/workflows/renovate.yml b/.gitea/workflows/renovate.yml
deleted file mode 100644
index 29ffa45..0000000
--- a/.gitea/workflows/renovate.yml
+++ /dev/null
@@ -1,18 +0,0 @@
-name: RenovateBot
-on:
- schedule:
- - cron: "@daily"
-
-jobs:
- renovate:
- container: ghcr.io/renovatebot/renovate:40-full
- runs-on: ubuntu-latest
- steps:
- - name: Checkout repository
- uses: actions/checkout@v4
- - name: Run Renovate updates
- 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
new file mode 100644
index 0000000..7233aac
--- /dev/null
+++ b/.github/dependabot.yml
@@ -0,0 +1,14 @@
+version: 2
+updates:
+ - package-ecosystem: "npm"
+ directory: "/"
+ schedule:
+ interval: "weekly"
+ - package-ecosystem: "devcontainers"
+ directory: "/"
+ schedule:
+ interval: "weekly"
+ - package-ecosystem: "github-actions"
+ directory: "/"
+ schedule:
+ interval: "weekly"
diff --git a/renovate.json b/.github/renovate.json
index 8140493..7904aa8 100644
--- a/renovate.json
+++ b/.github/renovate.json
@@ -2,19 +2,15 @@
"$schema": "https://docs.renovatebot.com/renovate-schema.json",
"extends": ["config:recommended", ":disableDependencyDashboard"],
"assignees": ["valentineus"],
- "rangeStrategy": "bump",
- "npm": {
- "enabled": true,
- "ignoreScripts": true,
- "skipInstalls": false
- },
+ "labels": ["dependencies", "automated"],
"packageRules": [
{
"description": "Group patch & minor updates together",
"groupName": "all digest updates",
"groupSlug": "all-digest",
"matchUpdateTypes": ["minor", "patch", "pin", "digest"],
- "matchPackageNames": ["*"]
+ "matchPackageNames": ["*"],
+ "automerge": true
}
]
}
diff --git a/.gitea/workflows/ci.yml b/.github/workflows/ci.yml
index e06db1a..0333c75 100644
--- a/.gitea/workflows/ci.yml
+++ b/.github/workflows/ci.yml
@@ -6,8 +6,12 @@ on:
pull_request:
branches: [master]
+permissions:
+ contents: read
+
jobs:
test:
+ name: Test
runs-on: ubuntu-latest
steps:
- name: Checkout repository
diff --git a/renovate.config.cjs b/renovate.config.cjs
deleted file mode 100644
index 44bc458..0000000
--- a/renovate.config.cjs
+++ /dev/null
@@ -1,6 +0,0 @@
-module.exports = {
- endpoint: "https://code.popov.link",
- gitAuthor: "RenovateBot <renovatebot@noreply.localhost>",
- optimizeForDisabled: true,
- platform: "gitea",
-};