ci: enable scheduled Renovate dependency updates
This commit is contained in:
@@ -0,0 +1,25 @@
|
|||||||
|
name: Renovate
|
||||||
|
|
||||||
|
on:
|
||||||
|
schedule:
|
||||||
|
- cron: '@daily'
|
||||||
|
workflow_dispatch:
|
||||||
|
|
||||||
|
jobs:
|
||||||
|
renovate:
|
||||||
|
name: Update dependencies
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
container: ghcr.io/renovatebot/renovate:44
|
||||||
|
timeout-minutes: 30
|
||||||
|
steps:
|
||||||
|
- uses: actions/checkout@v7
|
||||||
|
with:
|
||||||
|
persist-credentials: false
|
||||||
|
- name: Run Renovate
|
||||||
|
run: renovate
|
||||||
|
env:
|
||||||
|
GITHUB_COM_TOKEN: ${{ secrets.RENOVATE_GITHUB_TOKEN }}
|
||||||
|
LOG_LEVEL: ${{ vars.RENOVATE_LOG_LEVEL || 'info' }}
|
||||||
|
RENOVATE_CONFIG_FILE: renovate.config.cjs
|
||||||
|
RENOVATE_REPOSITORIES: ${{ gitea.repository }}
|
||||||
|
RENOVATE_TOKEN: ${{ secrets.RENOVATE_TOKEN }}
|
||||||
+12
@@ -0,0 +1,12 @@
|
|||||||
|
{
|
||||||
|
"$schema": "https://docs.renovatebot.com/renovate-schema.json",
|
||||||
|
"extends": ["config:recommended", ":disableDependencyDashboard"],
|
||||||
|
"assignees": ["valentineus"],
|
||||||
|
"labels": ["dependencies", "automated"],
|
||||||
|
"packageRules": [
|
||||||
|
{
|
||||||
|
"groupName": "non-major dependencies",
|
||||||
|
"matchUpdateTypes": ["minor", "patch", "pin", "digest"]
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
||||||
@@ -0,0 +1,6 @@
|
|||||||
|
module.exports = {
|
||||||
|
endpoint: "https://code.popov.link",
|
||||||
|
gitAuthor: "renovate[bot] <renovatebot@noreply.localhost>",
|
||||||
|
optimizeForDisabled: true,
|
||||||
|
platform: "gitea",
|
||||||
|
};
|
||||||
Reference in New Issue
Block a user