diff --git a/.gitea/workflows/config.js b/.gitea/workflows/config.js new file mode 100644 index 0000000..9f00022 --- /dev/null +++ b/.gitea/workflows/config.js @@ -0,0 +1,8 @@ +module.exports = { + "endpoint": "https://git.dev-null.rocks/api/v1", // replace it with your actual endpoint + "gitAuthor": "Renovate Bot ", + "platform": "gitea", + "onboardingConfigFileName": "renovate.json", + "autodiscover": true, + "optimizeForDisabled": true, +}; \ No newline at end of file diff --git a/.gitea/workflows/renovate.yaml b/.gitea/workflows/renovate.yaml new file mode 100644 index 0000000..72cf2e4 --- /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.20.2 + steps: + - uses: actions/checkout@v4 + - run: renovate + env: + RENOVATE_CONFIG_FILE: "./gitea/workflows/config.js" # replace it with your config.js path + LOG_LEVEL: "debug" + RENOVATE_TOKEN: ${{ secrets.GA_TOKEN }} # your Revonate bot token \ No newline at end of file diff --git a/renovate.json b/renovate.json new file mode 100644 index 0000000..5c4f984 --- /dev/null +++ b/renovate.json @@ -0,0 +1,12 @@ +{ + "extends": [ + "config:base" + ], + "packageRules": [ + { + "updateTypes": ["minor", "patch", "pin", "digest"], + "automerge": true + } + ] + } + \ No newline at end of file