From 51617df79a3f5c5f42ca904f6d9abd0e86847d6b Mon Sep 17 00:00:00 2001 From: Jake Hillion Date: Sun, 4 Feb 2024 20:43:28 +0100 Subject: [PATCH] add gh actions file and config --- .gitea/workflows/renovate.yaml | 20 ++++++++++++++++++++ config.js | 8 ++++++++ 2 files changed, 28 insertions(+) create mode 100644 .gitea/workflows/renovate.yaml create mode 100644 config.js diff --git a/.gitea/workflows/renovate.yaml b/.gitea/workflows/renovate.yaml new file mode 100644 index 0000000..6e507f6 --- /dev/null +++ b/.gitea/workflows/renovate.yaml @@ -0,0 +1,20 @@ +name: renovate + +on: + schedule: + - cron: "@daily" + push: + branches: + - main + +jobs: + renovate: + runs-on: ubuntu-latest + container: ghcr.io/renovatebot/renovate:37.279.0 + steps: + - uses: actions/checkout@v4 + - run: renovate + env: + RENOVATE_CONFIG_FILE: "/workspace/JakeHillion/renovate-config/config.js" + LOG_LEVEL: "debug" + RENOVATE_TOKEN: ${{ secrets.RENOVATE_TOKEN }} diff --git a/config.js b/config.js new file mode 100644 index 0000000..242ac56 --- /dev/null +++ b/config.js @@ -0,0 +1,8 @@ +module.exports = { + "endpoint": "https://gitea.hillion.co.uk/api/v1", + "gitAuthor": "Renovate Bot ", + "platform": "gitea", + "onboardingConfigFileName": ".renovate.json", + "autodiscover": true, + "optimizeForDisabled": true, +};