export async function run()

in src/main.ts [14:27]


export async function run(): Promise<void> {
  try {
    const config = parseConfig();
    logInfo(`Action config: ${JSON.stringify(config, null, 2)}`);

    const files = await getTemplateAndParameters(config);

    await execute(config, files);
  } catch (error) {
    // Fail the workflow run if an error occurs
    const message = error instanceof Error ? error.message : `${error}`;
    core.setFailed(message);
  }
}