Skip to content

Conversation

@harryswift01
Copy link
Contributor

Summary

This PR removes the self-hosted Renovate GitHub Actions workflow and transitions the repository to use the official Renovate GitHub App instead. This simplifies maintenance, improves scalability across the CCPBioSim organisation, and ensures PRs are authored by renovate[bot].

Changes

Remove self-hosted Renovate GitHub Action

  • Deleted .github/workflows/renovate.yml
  • Removed dependency on a personal or machine-user PAT
  • Prevents duplicate Renovate runs between the Action and the App

Clean up Renovate-related secrets

  • Removed the RENOVATE_TOKEN secret as it is no longer required
  • Eliminated PAT rotation/maintenance for Renovate

Update renovate.json to improve scheduling and PR clarity

  • Added a weekday morning schedule (before 8am on weekdays)
  • Added automatic "dependencies" label to all Renovate PRs
  • Retained all existing best-practices presets and rules

Impact

  • Renovate PRs will now be authored by the official renovate[bot]
  • No more GitHub Actions minutes consumed for Renovate
  • Reduced maintenance burden (no PATs, no workflow updates)
  • More scalable approach for managing Renovate across CCPBioSim repos
  • Cleaner and more consistent dependency update workflow

@harryswift01 harryswift01 self-assigned this Nov 24, 2025
@harryswift01 harryswift01 added dependencies Pull requests that update a dependency file github_actions Pull requests that update GitHub Actions code labels Nov 24, 2025
@harryswift01 harryswift01 changed the title 209 migrate from self hosted renovate Migrate to official Renovate GitHub App and remove self-hosted workflow Nov 24, 2025
@harryswift01 harryswift01 requested a review from jimboid November 24, 2025 10:07
Copy link
Member

@jimboid jimboid left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This looks correct based on the documentation for "hosted by somebody else" with a github app installed on the org. Config on the org checks out ok. Please merge.

@jimboid
Copy link
Member

jimboid commented Nov 24, 2025

You might be able to reduce the scope of dependabot or eliminate it entirely.

@harryswift01
Copy link
Contributor Author

You might be able to reduce the scope of dependabot or eliminate it entirely.

Yeah this is very true, I will let this run a few times so we can see how it can handle everything but yeah this can very much repalce dependabot so we have just one dependency updater and make it easier to understand and avoid duplication. We can also confgure this very easily now with other repos on the CCPBioSim organisation which is very handy.

@harryswift01 harryswift01 merged commit c7e7a8f into main Nov 24, 2025
15 checks passed
@harryswift01 harryswift01 deleted the 209-migrate-from-self-hosted-renovate branch November 24, 2025 10:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file github_actions Pull requests that update GitHub Actions code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Migrate from self-hosted Renovate GitHub Action to official Renovate GitHub App

3 participants