Contains the default configuration used by @renovate-bot for all repositories in this Forgejo instance.
Co-authored-by: Renovate[BOT] <renovate-bot@auengun.net> Co-committed-by: Renovate[BOT] <renovate-bot@auengun.net> |
||
|---|---|---|
| .forgejo/workflows | ||
| LICENSES | ||
| .renovaterc.json5 | ||
| default.json5 | ||
| README.md | ||
Global Renovate Config (git.auengun.net)
Global Renovate configuration used by @svc-renovate-bot when scanning all repositories on git.auengun.net.
Forgejo Actions Workflow
The workflow for running Renovate is currently in a private repository running via GitHub Actions like workflow via a Forgejo Actions workflow .yml like the following.
Renovate - Cron.yml
name: Renovate - Cron
on:
schedule:
- cron: '30 * * * *'
jobs:
renovate:
name: Renovate
runs-on: docker
container:
image: git.auengun.net/homelab/image-renovate:latest
steps:
- name: Ping Start Healthcheck URL
shell: bash
run: |
curl -fsS -m 10 --retry 5 https://healthchecks.auengun.net/ping/${{ vars.HEALTHCHECK_SLUG }}/start
- name: Homelab Common Setup
uses: https://git.auengun.net/homelab/action-common-setup@main
- name: Run Renovate
shell: bash
run: |
renovate
curl -fsS -m 10 --retry 5 https://healthchecks.auengun.net/ping/${{ vars.HEALTHCHECK_SLUG }}/$?
env:
GITHUB_COM_TOKEN: "${{ secrets.GITHUB_COM_TOKEN }}"
RENOVATE_CONFIG_FILE: "${{ github.workspace }}/renovate-config.js"
RENOVATE_TOKEN: "${{ secrets.RENOVATE_TOKEN }}"
renovate-config.js
module.exports = {
platform: "gitea",
endpoint: "https://git.auengun.net/api/v1/",
gitAuthor: "Renovate[BOT] <renovate-bot@auengun.net>",
username: "svc-renovate-bot",
autodiscover: true,
onboarding: true,
onboardingNoDeps: true,
onboardingConfig: {
$schema: "https://docs.renovatebot.com/renovate-schema.json",
extends: ["local>renovate-config/renovate-config:default.json5"],
},
persistRepoData: true,
};