From d939cd31f9e7f9f75e750e4c3a012c349ce4bcbf Mon Sep 17 00:00:00 2001 From: Miguel Ramos Date: Mon, 22 Jul 2024 10:59:32 +0100 Subject: [PATCH] chore: add title to ActionInfo interface --- actions.mjs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/actions.mjs b/actions.mjs index 61b78da..2af2242 100644 --- a/actions.mjs +++ b/actions.mjs @@ -16,6 +16,7 @@ export function getActionInfo({ context, root, branch, repoName }) { let ref = context?.ref ?? context?.payload?.ref; let headRef = context?.payload?.pull_request?.head?.ref ?? branch; let isMerge = Boolean(context?.payload?.pull_request?.merged); + let title = context?.payload?.pull_request?.title; if (isMerge && headRef) { removeChange(headRef, projectRoot); @@ -25,6 +26,7 @@ export function getActionInfo({ context, root, branch, repoName }) { let packages = getChangedPackages("origin/main", projectRoot); return { + title, branch, change, packages,