diff --git a/.gitea/workflows/renovate.yml b/.gitea/workflows/renovate.yml new file mode 100644 index 0000000..3d931a5 --- /dev/null +++ b/.gitea/workflows/renovate.yml @@ -0,0 +1,23 @@ +name: renovate + +on: + schedule: + - cron: "@daily" + workflow_dispatch: + +jobs: + renovate: + runs-on: ubuntu-latest + container: + image: renovate/renovate:41.97.7 + + steps: + - name: Checkout repository + uses: actions/checkout@v4 + + - name: Run Renovate + env: + RENOVATE_TOKEN: ${{ secrets.RENOVATE_TOKEN }} + GITHUB_COM_TOKEN: ${{ secrets.PAT_TOKEN }} + run: | + renovate diff --git a/config.js b/config.js new file mode 100644 index 0000000..365d1c2 --- /dev/null +++ b/config.js @@ -0,0 +1,14 @@ +module.exports = { + platform: 'gitea', + endpoint: 'https://gitea.akshun-lab.cc/api/v1', + gitAuthor: 'Renovate Bot ', + username: 'renovate', + autodiscover: false, + onboardingConfig: { + $schema: 'https://docs.renovatebot.com/renovate-schema.json', + extends: ['config:recommended'] + }, + optimizeForDisabled: true, + persistRepoData: true, + repositories: ["aggarwalakshun/k3s"], +}