diff --git a/.gitea/workflows/renovate.yaml b/.gitea/workflows/renovate.yaml new file mode 100644 index 0000000..f46ae57 --- /dev/null +++ b/.gitea/workflows/renovate.yaml @@ -0,0 +1,26 @@ +name: renovate + +on: + schedule: + - cron: "@daily" + push: + branches: + - main + +jobs: + renovate: + runs-on: ubuntu-latest + container: ghcr.io/renovatebot/renovate:37.266.0 + steps: + - uses: actions/checkout@v4 + - run: renovate + env: + RENOVATE_CONFIG_FILE: "/workspace/gitea/renovate-config/config.js" + LOG_LEVEL: "debug" + RENOVATE_CONFIG_MIGRATION: "true" # ensure all repositories receive config migration PRs + RENOVATE_TOKEN: ${{ secrets.RENOVATE_TOKEN }} + GITHUB_COM_TOKEN: ${{ secrets.GH_TOKEN }} + RENOVATE_AUTODISCOVER: "false" + RENOVATE_ENDPOINT: https://git.namesny.com/api/v1 + RENOVATE_GIT_AUTHOR: Renovate Bot + RENOVATE_PLATFORM: gitea diff --git a/config.json b/config.json new file mode 100755 index 0000000..5e5bfc3 --- /dev/null +++ b/config.json @@ -0,0 +1,3 @@ +{ + "repositories": ["Cluster/k3s-configs", "Cluster/mlflow", "Cluster/renovate-config"] +}