👷 Add Renovate for automated dependency updates #29

Merged
mat merged 1 commit from renovate-setup into main 2026-07-05 08:46:57 +00:00
Owner

Automates the comwatt-client bump workflow:

  • renovate.jsonconfig:recommended, plus a custom regex manager for custom_components/comwatt/manifest.json (no native Renovate manager knows the HA manifest format); requirements-test.txt is picked up by the native pip_requirements manager. Both comwatt-client occurrences are grouped into a single PR.
  • Automerge for comwatt-client minor/patch once CI is green (platformAutomerge: false so Renovate itself waits for the checks instead of trusting Forgejo auto-merge, since main has no required-checks protection). Major bumps stay manual.
  • .forgejo/workflows/renovate.yml — daily cron (06:00 UTC) + manual trigger, running renovate/renovate:43. Located in .forgejo/workflows/ so the GitHub mirror never runs it.
  • Config validated with renovate-config-validator (renovate@43).

⚠️ One manual step before merging: create the RENOVATE_TOKEN secret (repo Settings → Actions → Secrets) containing a Forgejo access token with repository read/write scope. Optional: GITHUB_COM_TOKEN (a github.com PAT, public_repo is enough) to fetch changelogs/release notes into PR bodies without rate limiting.

Renovate also keeps pytest/pytest-homeassistant-custom-component ranges and the GitHub Actions pins fresh, and opens a Dependency Dashboard issue listing pending updates.

Automates the comwatt-client bump workflow: - **`renovate.json`** — `config:recommended`, plus a custom regex manager for `custom_components/comwatt/manifest.json` (no native Renovate manager knows the HA manifest format); `requirements-test.txt` is picked up by the native `pip_requirements` manager. Both `comwatt-client` occurrences are grouped into a single PR. - **Automerge** for comwatt-client **minor/patch** once CI is green (`platformAutomerge: false` so Renovate itself waits for the checks instead of trusting Forgejo auto-merge, since `main` has no required-checks protection). Major bumps stay manual. - **`.forgejo/workflows/renovate.yml`** — daily cron (06:00 UTC) + manual trigger, running `renovate/renovate:43`. Located in `.forgejo/workflows/` so the GitHub mirror never runs it. - Config validated with `renovate-config-validator` (renovate@43). ⚠️ **One manual step before merging**: create the `RENOVATE_TOKEN` secret (repo Settings → Actions → Secrets) containing a Forgejo access token with `repository` read/write scope. Optional: `GITHUB_COM_TOKEN` (a github.com PAT, `public_repo` is enough) to fetch changelogs/release notes into PR bodies without rate limiting. Renovate also keeps `pytest`/`pytest-homeassistant-custom-component` ranges and the GitHub Actions pins fresh, and opens a Dependency Dashboard issue listing pending updates.
Runs daily on Forgejo Actions (.forgejo/workflows is invisible to the
GitHub mirror). A custom regex manager covers the HA manifest.json
requirement, grouped with requirements-test.txt into a single PR;
comwatt-client minor/patch bumps automerge once CI is green.
mat merged commit a27cca8512 into main 2026-07-05 08:46:57 +00:00
mat deleted branch renovate-setup 2026-07-05 08:46:57 +00:00
mat referenced this pull request from a commit 2026-07-10 13:32:45 +00:00
Sign in to join this conversation.
No reviewers
No labels
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
mat/homeassistant-comwatt!29
No description provided.