Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Summary
This pull request updates the GitHub workflow pipeline by adding Renovate configuration and pinning dependencies to make things more predictable.
Details
See issue: Use github-refs for GitHub Actions so that branches are supported in addition to tags renovatebot/renovate#28016.
Changes
Pinned several dependencies in the
.github/workflows/ci.yml
to specific commit versions.The following actions have been pinned:
actions/checkout
to11bd719
savonet/github-actions-cpu-cores-docker
tof72bcfa
actions/setup-node
to39370e3
crazy-max/ghaction-github-pages
tofbf0a4f
actions/upload-artifact
to6f51ac0
peaceiris/actions-gh-pages
to4f9cc66
ocaml/setup-ocaml
to778844f
actions/cache
to1bd1e32
pre-commit/action
to2c7b380
actions/download-artifact
tofa0a91b
softprops/action-gh-release
toc95fe14
docker/setup-buildx-action
to6524bf6
docker/login-action
to9780b0c
docker/build-push-action
tob32b51a
savonet/liquidsoap-ci
docker tag toa9e3ce5
ubuntu
GitHub runs-on image tov24.04
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:
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.
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/.
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.