name: RenovateBot on: schedule: # Run at 2:00 AM every day - cron: '0 2 * * *' workflow_dispatch: jobs: renovate: runs-on: ubuntu-latest steps: - name: Checkout uses: actions/checkout@v4 - name: Self-hosted Renovate uses: renovatebot/github-action@v40.1.11 env: # Token needs permission to read/write repository contents and pull requests RENOVATE_TOKEN: ${{ secrets.RENOVATE_TOKEN }} # The platform needs to be explicitly defined for Forgejo/Gitea RENOVATE_PLATFORM: "gitea" RENOVATE_ENDPOINT: "https://your-forgejo-instance.local/api/v1" # The repository format: owner/repo RENOVATE_REPOSITORIES: "your-username/nix-config"