ci: Pin dependencies - #13628
Conversation
5c570f7 to
ffbf4d2
Compare
cmeister2
left a comment
There was a problem hiding this comment.
Changes are consistent and as expected
|
I can't comment/review, I don't know if pinning is to prefer to plain versions. |
My understanding is that pinning dependencies is preferred for OpenSSF, which I believe curl is signed up for. It's also better to pin to a hash rather than a tag because tags can be changed on Git. I don't think it's adding much security but I think it's a best practice that doesn't add much, if any, friction with its use. |
... and we automatically adapt to the new one by advancing the pin? Or what kind of extra checks are done when the pin is updated? How often is this changing, do we know? Does it risk becoming a nuisance? |
|
"actions/checkout" is pinned to two different hashes which looks incorrect |
Yes, this auto-advances by advancing the pin. It's not particularly spammy - given we've had this set up on curl-fuzzer for quite a while now and it's raised a handful of updates. |
One is v2 and one is v4 - the update here is being handled by #13632 |
So how does it know it is a pinned version of v2 and v4? Is the added comment in the yaml how it knows?
can't we just merge that PR into this to reduce clutter? |
I believe so.
I don't think so. Once every instance of the dependency is on the same version then it becomes much less of a clutter problem. |
ffbf4d2 to
f33b044
Compare
bagder
left a comment
There was a problem hiding this comment.
Let's do this. If it causes too much churn or nuisance we can reconsider later.
This PR contains the following updates:
0c457730ad4b8f65a9edc8558fd76546280a46482c5c5dfc0b7cec75dbd2f1dConfiguration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
👻 Immortal: This PR will be recreated if closed unmerged. Get config help if that's undesired.
This PR has been generated by Mend Renovate. View repository job log here.