Skip to content
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

feat: Add Renovate configuration #4310

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

Conversation

vitoyucepi
Copy link
Collaborator

Summary

This pull request updates the GitHub workflow pipeline by adding Renovate configuration and pinning dependencies to make things more predictable.

Details

Changes

Pinned several dependencies in the .github/workflows/ci.yml to specific commit versions.
The following actions have been pinned:

Required changes in the repository settings

To make the updates from this pull request work properly, it's necessary to adjust a few settings in the repository:

  1. Make sure the Renovate bot is activated for the repository.
    This will make the Renovate bot automatically manage dependencies.
    Go to https://github.com/apps/renovate and install it for the repository.
    Since I provided the configuration and pinned all the dependencies, it will only create a Dependency Dashboard issue to track them.
  2. Enable GitHub auto-merge in the repository Settings -> General -> Allow auto-merge.
    This will allow the Renovate bot to use the platform auto-merge feature.
    The documentation is available at https://docs.renovatebot.com/key-concepts/automerge/.
  3. Additionally GitHub auto-merge requires repository Settings -> Rulesets to be configured.
    In my test repository, I created a rule that will block merge until the GitHub action passed.
    If the ruleset requires a review, then Renovate also provides automatic review bots.
    Go to https://github.com/apps/renovate-approve and install it for the repository.
    The documentation is available at https://docs.renovatebot.com/key-concepts/automerge/#required-pull-request-reviews.

vitoyucepi and others added 2 commits January 10, 2025 12:32
Add configuration for renovate based on config:best-practices.
Convert github-actions versions to semver whenever possible.
Enable automerge for non-major version bumps.

Disable renovate for problematic docker actions.
ref: renovatebot/renovate#28016

Disable renovate for docker images.
pin actions/checkout action to 11bd719
pin savonet/github-actions-cpu-cores-docker action to f72bcfa
pin actions/setup-node action to 39370e3
pin crazy-max/ghaction-github-pages action to fbf0a4f
pin actions/upload-artifact action to 6f51ac0
pin peaceiris/actions-gh-pages action to 4f9cc66
pin ocaml/setup-ocaml action to 778844f
pin actions/cache action to 1bd1e32
pin pre-commit/action action to 2c7b380
pin actions/download-artifact action to fa0a91b
pin softprops/action-gh-release action to c95fe14
pin docker/setup-buildx-action action to 6524bf6
pin docker/login-action action to 9780b0c
pin docker/build-push-action action to b32b51a
pin savonet/liquidsoap-ci docker tag to a9e3ce5
pin ubuntu github-runner to v24.04
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