# Example Gitea Actions workflow for triggering Renovate # Place this file in: .gitea/workflows/renovate.yaml name: Renovate on: schedule: # Run daily at 2 AM - cron: '0 2 * * *' # Allow manual trigger workflow_dispatch: # Run when this workflow file is updated push: branches: [main] paths: - '.gitea/workflows/renovate.yaml' jobs: renovate: runs-on: ubuntu-latest steps: - name: Trigger Renovate Container run: | # Option 1: Restart the container to trigger a run docker restart renovate || echo "Container restart failed or not available" # Option 2: If using Renovate in one-shot mode, run directly # docker run --rm \ # -e RENOVATE_PLATFORM=gitea \ # -e RENOVATE_ENDPOINT=${{ secrets.GITEA_ENDPOINT }} \ # -e RENOVATE_TOKEN=${{ secrets.RENOVATE_TOKEN }} \ # -e RENOVATE_GIT_AUTHOR="Renovate Bot " \ # renovate/renovate - name: Check Renovate Logs run: | # Wait a moment for the container to start sleep 5 # Show recent logs docker logs renovate --tail 50 || true