Initial Commit
All checks were successful
renovate / renovate (push) Successful in 57s

This commit is contained in:
2026-01-24 17:58:01 +01:00
commit 51cf756edc
3 changed files with 52 additions and 0 deletions

View File

@@ -0,0 +1,26 @@
# yaml-language-server: $schema=https://raw.githubusercontent.com/SchemaStore/schemastore/master/src/schemas/json/github-workflow.json
name: renovate
on:
schedule:
- cron: "@weekly"
push:
branches:
- main
workflow_dispatch: {}
jobs:
renovate:
runs-on: nix
steps:
- uses: actions/checkout@v6
- name: Run Renovate via Nix
run: |
nix run nixpkgs#renovate
env:
RENOVATE_CONFIG_FILE: "config.js"
LOG_LEVEL: "debug"
RENOVATE_TOKEN: ${{ secrets.RENOVATE_TOKEN }}
# RENOVATE_GITHUB_COM_TOKEN: ${{ secrets.RENOVATE_GITHUB_COM_TOKEN }}
# DOCKER_HUB_USERNAME: ${{ secrets.DOCKER_HUB_USERNAME }}
# DOCKER_HUB_PASSWORD: ${{ secrets.DOCKER_HUB_PASSWORD }}

23
config.js Normal file
View File

@@ -0,0 +1,23 @@
// https://docs.renovatebot.com/self-hosted-configuration/#onboarding
module.exports = {
"endpoint": "https://git.svc.hel1.obx/api/v1",
"gitAuthor": "Renovate Bot <renovate-bot@oceanbox.io>",
"platform": "gitea",
"onboardingConfigFileName": "renovate.json",
"autodiscover": true, // automatically go over all repos on this server
"onboarding": false, // need to manually create renovate.json
"requireConfig": "required", // do not run on repos which don't have a config file
"optimizeForDisabled": true,
"osvVulnerabilityAlerts": true,
"vulnerabilityAlerts": {
"enabled": true
}
// https://docs.renovatebot.com/docker/#registry-authentication
// "hostRules": [
// {
// "matchHost": "https://docker.io",
// "username": process.env.DOCKER_HUB_USERNAME,
// "password": process.env.DOCKER_HUB_PASSWORD,
// },
// ],
};

3
renovate.json Normal file
View File

@@ -0,0 +1,3 @@
{
"$schema": "https://docs.renovatebot.com/renovate-schema.json"
}