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.
Inputs may now be provided using environment variables, as well as the existing inputs. None of the
inputs are required any more, so it is possible to use only environment variables. Nevertheless all
inputs must be provided in some way, either using the input or their corresponding environment
variables.
BREAKING CHANGE: The `configurationFile` input no longer has a default value. This means that a
value for it is now required using the `configurationFile` input or the `RENOVATE_CONFIG_FILE`
environment variable.
Co-authored-by: Michael Kriese <michael.kriese@visualon.de>
- mount docker.sock and /tmp to renovate
- use slim image
Co-authored-by: Jeroen de Bruijn <vidavidorra+jdbruijn@gmail.com>
Co-authored-by: Jeroen de Bruijn <62570005+jdbruijn@users.noreply.github.com>
* refactor: convert project to typescript
* fix: image as last argument of docker run
* ci: remove example as the build can act as example
* fix: set tokenEnv to RENOVATE_TOKEN
* fix: add trailing single quite to Docker --env arguments
* fix: mount volume with config file to Docker container
* chore: remove Prettier trailingComma on all
This puts it back at the default, which is es5 style.
* fix: correct package main to dist/indes.js
* fix: use @actions/exec to execute docker child process
* fix: use async/await for exec
Co-authored-by: Michael Kriese <michael.kriese@visualon.de>
* fix: use async/await in the runner
Co-authored-by: Michael Kriese <michael.kriese@visualon.de>