Renovate update to latest commit instead of most recent tag #22875
-
How are you running Renovate?Self-hosted If you're self-hosting Renovate, tell us what version of Renovate you run.35.133.0 If you're self-hosting Renovate, select which platform you are using.github.com Was this something which used to work for you, and then stopped?I never saw this working Wanted end result.Renovate proposes to pin GitHub action version to latest commit, which breaks the action since the author of the action seems to not build the js for every commit but only for release. See cilium/tetragon#1065 with How can I prevent that and only receive updates on new releases? My config is the following: https://github.com/cilium/tetragon/blob/main/.github/renovate.json5#L57. What you tried so far.I tried to search the doc for the related configuration without success. :/ Relevant debug logsLogs
|
Beta Was this translation helpful? Give feedback.
Replies: 2 comments
-
Hi there, Get your issue fixed faster by creating a minimal reproduction. This means a repository dedicated to reproducing this issue with the minimal dependencies and config possible. Before we start working on your issue we need to know exactly what's causing the current behavior. A minimal reproduction helps us with this. To get started, please read our guide on creating a minimal reproduction. We may close the issue if you, or someone else, haven't created a minimal reproduction within two weeks. If you need more time, or are stuck, please ask for help or more time in a comment. Good luck, The Renovate team |
Beta Was this translation helpful? Give feedback.
-
For those looking at this discussion (if ever), it was because it was missing the magic comment with the semantic versioning on the side: https://docs.renovatebot.com/modules/manager/github-actions/#additional-information. You don't need the - uses: actions/checkout@af513c7a016048ae468971c52ed77d9562c7c819 # v1.0.0 To all your GitHub actions dependencies (you can use a script to fetch the tag from GitHub) and then the updates will be correct. |
Beta Was this translation helpful? Give feedback.
For those looking at this discussion (if ever), it was because it was missing the magic comment with the semantic versioning on the side: https://docs.renovatebot.com/modules/manager/github-actions/#additional-information. You don't need the
renovate: tag=
but just add:To all your GitHub actions dependencies (you can use a script to fetch the tag from GitHub) and then the updates will be correct.