Add v1 renovate config
All checks were successful
renovate / renovate (push) Successful in 47s

Signed-off-by: Sam Therapy <sam@samtherapy.net>
This commit is contained in:
Sam Therapy 2024-03-16 23:30:15 +01:00
parent dc487d2ee7
commit 6854d33287
Signed by: sam
GPG key ID: 4D8B07C18F31ACBD
2 changed files with 37 additions and 0 deletions

View file

@ -0,0 +1,21 @@
name: renovate
on:
schedule:
- cron: "@hourly"
push:
branches:
- master
jobs:
renovate:
runs-on: ubuntu-latest
container: ghcr.io/renovatebot/renovate
steps:
- uses: actions/checkout@v4
- run: renovate
env:
RENOVATE_CONFIG_FILE: "/workspace/infrastructure/renovate/config.js"
LOG_LEVEL: "debug"
RENOVATE_TOKEN: ${{ secrets.RENOVATE_TOKEN }}
GITHUB_TOKEN: ${{ secrets.HUB_TOKEN }}

16
config.js Normal file
View file

@ -0,0 +1,16 @@
module.exports = {
endpoint: "https://git.froth.zone/api/v1/",
onboardingConfig: {
extends: [
"config:base",
":pinSkipCi",
":enableVulnerabilityAlerts",
":semanticCommits",
],
"automerge": true
},
postUpdateOptions: ["gomodTidy", "pnpmDedupe"],
platform: "gitea",
autodiscover: true,
optimizeForDisabled: true,
};