mirror of
https://github.com/renovatebot/github-action.git
synced 2025-12-16 17:02:36 +00:00
17 lines
373 B
TypeScript
17 lines
373 B
TypeScript
import { Input } from './input';
|
|
import { Renovate } from './renovate';
|
|
import { setFailed } from '@actions/core';
|
|
|
|
async function run(): Promise<void> {
|
|
try {
|
|
const input = new Input();
|
|
const renovate = new Renovate(input);
|
|
|
|
await renovate.runDockerContainer();
|
|
} catch (error) {
|
|
console.error(error);
|
|
setFailed(error as Error);
|
|
}
|
|
}
|
|
|
|
void run();
|