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 BruijnandMichael Kriese authored and GitHub committed 2021-03-08 09:42:52 +01:00
1 parent 525abe5975
commit 9c8a784d88
8 files changed
+139 -48

No files matched your search

+2
View File
@@ -48,6 +48,8 @@ jobs:
run: npm run build
- name: Renovate test
uses: ./
env:
LOG_LEVEL: debug
with:
configurationFile: ${{ matrix.configurationFile }}
token: ${{ secrets.RENOVATE_TOKEN }}