Skip to content

🔧 Chore: Add Renovate bot #16

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 24 commits into
base: main
Choose a base branch
from
Open

Conversation

BDVGitHub
Copy link
Contributor

Add Renovate to auto generate PR's when dependencies updates are available.
This once a week and a max of 2 PR's per hour.

https://docs.renovatebot.com/

Automatically generate pull request when a new version of a dependency is available. WIP
First steps to create workflow
Adjust workflow for Renovate
@BDVGitHub BDVGitHub changed the title 🔧 Chore Add Renovate bot 🔧 Chore: Add Renovate bot Apr 5, 2025
Default devDepencies are not updated, changed so that the are also checked
@BDVGitHub BDVGitHub marked this pull request as draft April 10, 2025 16:59
Change code to run with GitHub actions
@BDVGitHub BDVGitHub marked this pull request as ready for review April 12, 2025 06:06
Change configuration
Selected which type of update is searched for
Use latest version of renovate GitHub action
@BDVGitHub
Copy link
Contributor Author

BDVGitHub commented Apr 16, 2025

@cocotime or @mavalroot the PR is ready to be reviewed.
The goal is to use renovate to automatically search for dependency updates once a week.
For now its sunday @ 20:12 UTC time, this can be adjusted to e.g. different day and/or period if needed.

The only thing that needs to happen is configure RENOVATE_TOKEN but I can't do this (permission rights)
See https://github.com/marketplace/actions/renovate-bot-github-action#token for more info about the token.
Steps to follow, generate Personal access tokens (classic) https://github.com/settings/tokens and select repo:public_repo or repo. In this repo go to settings > Secrets and variables > actions > Repository secrets > create RENOVATE_TOKEN and paste the Personal acces token secret.

See https://github.com/renovatebot/github-action?tab=readme-ov-file#example for more info about renovate config
afbeelding

Instead of using a Personal acces token you can also use https://github.com/renovatebot/github-action?tab=readme-ov-file#example-with-github-app or see https://docs.renovatebot.com/modules/platform/github/

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant