feat(renovate): add self-hosted Renovate dependency auto-update config #2

Merged
crashmedia merged 6 commits from add-renovate-automation into main 2026-05-21 04:17:53 +00:00
Owner

Summary

Adds Renovate self-hosted configuration for automated dependency updates across crashmedia repos.

Files added:

  • .forgejo/workflows/build.yml — updated to include pull_request trigger so CI validates version-bump PRs before merge
  • renovate.json — per-repo Renovate config with opencode-ai package group rules, auto-merge for patch/minor deps, and security vulnerability alerts
  • docker-compose.renovate.yml — Docker Compose setup for running Renovate as a scheduled service
  • renovate/config.js — global Renovate config targeting Forgejo platform
  • renovate/credentials.json — host rules for bot authentication
  • renovate/.env.example — environment template

What Renovate will do:

  1. Run weekly (Mondays) to check npm for newer versions
  2. Auto-create PRs for opencode-ai package bumps (opencode-ai, opencode-linux-x64-musl, @opencode-ai/plugin)
  3. Auto-merge patch/minor updates for other deps (crypto-js, playwright)
  4. Flag security vulnerabilities for immediate attention

Setup required before running:

  1. Create renovate-bot account on Forgejo
  2. Generate PAT with repo+issue+org read scopes
  3. Set RENOVATE_TOKEN in .env
  4. Run: docker compose -f docker-compose.renovate.yml up -d
## Summary Adds Renovate self-hosted configuration for automated dependency updates across crashmedia repos. ### Files added: - **`.forgejo/workflows/build.yml`** — updated to include `pull_request` trigger so CI validates version-bump PRs before merge - **`renovate.json`** — per-repo Renovate config with opencode-ai package group rules, auto-merge for patch/minor deps, and security vulnerability alerts - **`docker-compose.renovate.yml`** — Docker Compose setup for running Renovate as a scheduled service - **`renovate/config.js`** — global Renovate config targeting Forgejo platform - **`renovate/credentials.json`** — host rules for bot authentication - **`renovate/.env.example`** — environment template ### What Renovate will do: 1. Run weekly (Mondays) to check npm for newer versions 2. Auto-create PRs for opencode-ai package bumps (opencode-ai, opencode-linux-x64-musl, @opencode-ai/plugin) 3. Auto-merge patch/minor updates for other deps (crypto-js, playwright) 4. Flag security vulnerabilities for immediate attention ### Setup required before running: 1. Create `renovate-bot` account on Forgejo 2. Generate PAT with repo+issue+org read scopes 3. Set `RENOVATE_TOKEN` in `.env` 4. Run: `docker compose -f docker-compose.renovate.yml up -d`
Sign in to join this conversation.
No reviewers
No labels
dependency
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
crashmedia/opencode-docker!2
No description provided.