mirror of
https://github.com/renovatebot/github-action.git
synced 2025-12-17 17:32:35 +00:00
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>
17 lines
360 B
TypeScript
17 lines
360 B
TypeScript
import * as core from '@actions/core';
|
|
import Input from './input';
|
|
import Renovate from './renovate';
|
|
|
|
async function run(): Promise<void> {
|
|
try {
|
|
const input = new Input();
|
|
const renovate = new Renovate(input);
|
|
|
|
await renovate.runDockerContainer();
|
|
} catch (error) {
|
|
console.error(error);
|
|
core.setFailed(error.message);
|
|
}
|
|
}
|
|
|
|
run();
|