From 6854d33287ba27d91e62dff9c53415e7f18bf18c Mon Sep 17 00:00:00 2001 From: Sam Therapy Date: Sat, 16 Mar 2024 23:30:15 +0100 Subject: [PATCH] Add v1 renovate config Signed-off-by: Sam Therapy --- .forgejo/workflows/renovate.yaml | 21 +++++++++++++++++++++ config.js | 16 ++++++++++++++++ 2 files changed, 37 insertions(+) create mode 100644 .forgejo/workflows/renovate.yaml create mode 100644 config.js diff --git a/.forgejo/workflows/renovate.yaml b/.forgejo/workflows/renovate.yaml new file mode 100644 index 0000000..ccb26a6 --- /dev/null +++ b/.forgejo/workflows/renovate.yaml @@ -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 }} \ No newline at end of file diff --git a/config.js b/config.js new file mode 100644 index 0000000..c151738 --- /dev/null +++ b/config.js @@ -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, +}; \ No newline at end of file