ci(renovate): add scheduled Renovate workflow#460
Conversation
Adds an hourly scheduled Renovate workflow plus manual workflow_dispatch trigger. This workflow was introduced in the integration branch behind PR #455 but dropped during the squash merge to main; the existing renovate.json config has no runner without it. Requires the RENOVATE_TOKEN secret to be configured on the repository.
No, deleting renovate maybe wasn't intentional? i see no deletions in that pr? it adds a renovate file? but maybe we're supposed to use github built in renovate not a third party renovate bot, idk. I just wanted pr bumps for more version checking. |
|
Quick clarification on the timeline so this isn't ambiguous:
So this PR re-adds what got lost during the squash, nothing more. Independent of the hosted-vs-self-hosted question — If you're happy, I'll merge once #460 has a tick. |
|
Heads-up from running through the test plan: Two options:
Happy to push option 2 onto this branch if you'd prefer to avoid the secret management overhead. |
|
push option 2? |
Per review feedback. The repo doesn't currently have a RENOVATE_TOKEN secret configured; switching to the workflow-scoped GITHUB_TOKEN avoids the need to mint and rotate a personal access token. Adds an explicit permissions block so the workflow can: - write contents: create the renovate/* branches it commits updates to - write pull-requests: open the PRs themselves - write issues: maintain Renovate's onboarding/dependency-dashboard issue Trade-off vs a PAT: PRs opened by GITHUB_TOKEN do not trigger downstream workflows (so CI checks won't auto-run on Renovate's PRs). If we later want CI on Renovate PRs we can swap back to a fine-grained PAT.
|
Pushed option 2 in f6852ec: swapped to Trade-off worth flagging: GitHub does not run downstream workflows on PRs opened by |
Signed-off-by: Oisín Kyne <4981644+OisinKyne@users.noreply.github.com>
Summary
.github/workflows/renovate.yml— hourly scheduled Renovate run plus aworkflow_dispatchtrigger with adry_runinputmain. The existingrenovate.jsonconfig currently has no runner without itTest plan
gh api repos/.../actions/secrets:RENOVATE_TOKENis NOT yet configured. Repo has onlyANTHROPIC_API_KEY,GOOGLE_API_KEY,HOODI_FUNDER_PRIVATE_KEY. See comment thread — needs either a PAT secret added before merge, or a swap toGITHUB_TOKEN+pull-requests: writepermissiondry_run=trueand verify the run completes without opening PRsrenovate.jsonmanagers (frontend tag, gateway API version, image pins)