From 362adff606f062c93298e91325f8140ebce3b62e Mon Sep 17 00:00:00 2001 From: Jonathan Atiene Date: Sun, 12 May 2024 09:05:19 +0100 Subject: [PATCH] payload not working --- src/index.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/index.ts b/src/index.ts index 69c449c..8b8ae15 100644 --- a/src/index.ts +++ b/src/index.ts @@ -27,11 +27,11 @@ const getTicketsFromPullRequestDetails = ( return [...new Set(allTickets)] } -const getClientInstance = () => {} - export async function run(): Promise { try { const githubContext = github.context + + console.log(githubContext, 'githubContext') const pullRequestNumber = githubContext.payload.pull_request?.number if (!pullRequestNumber || !githubContext.payload) {