Skip to content

Commit

Permalink
payload not working
Browse files Browse the repository at this point in the history
  • Loading branch information
bemijonathan committed May 12, 2024
1 parent 47b381e commit 362adff
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -27,11 +27,11 @@ const getTicketsFromPullRequestDetails = (
return [...new Set(allTickets)]
}

const getClientInstance = () => {}

export async function run(): Promise<void> {
try {
const githubContext = github.context

console.log(githubContext, 'githubContext')
const pullRequestNumber = githubContext.payload.pull_request?.number

if (!pullRequestNumber || !githubContext.payload) {
Expand Down

0 comments on commit 362adff

Please sign in to comment.