diff --git a/index.js b/index.js index 85c7769..86b9693 100644 --- a/index.js +++ b/index.js @@ -16,7 +16,7 @@ async function run() { } } = github.context; - const { pullNumber } = pullRequestPayload; + const { number: pullNumber } = pullRequestPayload; const { owner: repoOwner, full_name: repoFullName } = repositoryPayload; core.debug(`OWNER-------------------------------`);