From 3c415887032eb81bcd00eee48bd55a49ebbae3a8 Mon Sep 17 00:00:00 2001 From: Jan Amann Date: Wed, 13 Aug 2025 15:09:41 +0200 Subject: [PATCH 1/3] fix: Run action --- src/index.js | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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(); From 871109a37c21d2da9422af47da5b0222cfbbd2f4 Mon Sep 17 00:00:00 2001 From: Jan Amann Date: Wed, 13 Aug 2025 15:18:22 +0200 Subject: [PATCH 2/3] add template --- dist/templates/template.hbs | 0 package.json | 2 +- 2 files changed, 1 insertion(+), 1 deletion(-) create mode 100644 dist/templates/template.hbs 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", From 8bd411fdb93b3229772cda166ed4a96a473eeccf Mon Sep 17 00:00:00 2001 From: Jan Amann Date: Wed, 13 Aug 2025 15:20:01 +0200 Subject: [PATCH 3/3] templates --- dist/templates/commit.hbs | 0 dist/templates/footer.hbs | 0 dist/templates/header.hbs | 0 3 files changed, 0 insertions(+), 0 deletions(-) create mode 100644 dist/templates/commit.hbs create mode 100644 dist/templates/footer.hbs create mode 100644 dist/templates/header.hbs 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