feat: show Renovate CLI version more prominently in logs#983
Merged
jamietanna merged 1 commit intomainfrom Dec 15, 2025
Merged
Conversation
As noted in #969, it would be useful to have a more prominent output in the logs to indicate the version of the Renovate CLI being used. This would help with both personal debugging (for administrators of the GitHub Action) and for raising issues upstream. To do this, we can call the `--version` on the CLI, capture the output and report it back to the user. By using a Notice annotation, we can then make it more visible at the job- and step-level. We can then also wrap it in a `group`, so it's hidden in its own expandable group (with timing information). Closes #969.
Contributor
Author
|
Example: https://github.com/renovatebot/github-action/actions/runs/20229280729 (there are 4 notices due to it running 2 parallel tests, which each run Renovate 2 times)
|
viceice
reviewed
Dec 15, 2025
| async runDockerContainerForVersion(): Promise<string> { | ||
| const command = `docker run -t --rm ${this.docker.image()} --version`; | ||
|
|
||
| const { exitCode, stdout } = await getExecOutput(command); |
Member
There was a problem hiding this comment.
interesting, the docker pull output isn't in stdout 🤔
Contributor
Author
There was a problem hiding this comment.
It's hidden in the group: https://github.com/renovatebot/github-action/actions/runs/20229280729/job/58068122909#step:6:18
viceice
approved these changes
Dec 15, 2025
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.


As noted in #969, it would be useful to have a more prominent output in
the logs to indicate the version of the Renovate CLI being used.
This would help with both personal debugging (for administrators of the
GitHub Action) and for raising issues upstream.
To do this, we can call the
--versionon the CLI, capture the outputand report it back to the user.
By using a Notice annotation, we can then make it more visible at the
job- and step-level.
We can then also wrap it in a
group, so it's hidden in its ownexpandable group (with timing information).
Closes #969.