diff --git a/dist/templates/commit.hbs b/dist/templates/commit.hbs new file mode 100644 index 00000000..e69de29b diff --git a/dist/templates/footer.hbs b/dist/templates/footer.hbs new file mode 100644 index 00000000..e69de29b diff --git a/dist/templates/header.hbs b/dist/templates/header.hbs new file mode 100644 index 00000000..e69de29b diff --git a/dist/templates/template.hbs b/dist/templates/template.hbs new file mode 100644 index 00000000..e69de29b diff --git a/package.json b/package.json index 6292c5c6..a7e7919b 100644 --- a/package.json +++ b/package.json @@ -7,7 +7,7 @@ "scripts": { "lint": "eslint src && prettier --check src", "test": "vitest src", - "build": "rm -rf dist && rollup -c" + "build": "rollup -c" }, "repository": { "type": "git", diff --git a/src/index.js b/src/index.js index 1839c443..7f588a58 100644 --- a/src/index.js +++ b/src/index.js @@ -3,7 +3,7 @@ import github from '@actions/github'; import parseConfig from './parseConfig.js'; import validatePrTitle from './validatePrTitle.js'; -export default async function run() { +async function run() { try { const { types, @@ -169,3 +169,5 @@ export default async function run() { core.setFailed(error.message); } } + +await run();