feat: add passing of Renovate environment variables (#534)

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>
This commit is contained in:
Jeroen de Bruijn 2021-03-08 09:42:52 +01:00 committed by GitHub
parent 525abe5975
commit 9c8a784d88
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
8 changed files with 139 additions and 48 deletions

View file

@ -2,7 +2,6 @@ module.exports = {
branchPrefix: 'test-renovate/',
dryRun: true,
gitAuthor: 'Renovate Bot <bot@renovateapp.com>',
logLevel: 'debug',
onboarding: false,
platform: 'github',
includeForks: true,

View file

@ -2,7 +2,6 @@
"branchPrefix": "test-renovate/",
"dryRun": true,
"gitAuthor": "Renovate Bot <bot@renovateapp.com>",
"logLevel": "debug",
"onboarding": false,
"platform": "github",
"includeForks": true,