Skip to content

Commit

Permalink
context.payload.pull_request.number
Browse files Browse the repository at this point in the history
  • Loading branch information
andremion committed Dec 18, 2024
1 parent 1e2c58d commit 9d82371
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/sdk-size-checks.yml
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ jobs:
const { data: comments } = await github.rest.issues.listComments({
owner: context.repo.owner,
repo: context.repo.repo,
issue_number: github.event.pull_request.number,
issue_number: context.payload.pull_request.number,
});
const comment = comments.find(c => c.body.startsWith('## SDK Size Comparison'));
Expand All @@ -66,7 +66,7 @@ jobs:
await github.rest.issues.createComment({
owner: context.repo.owner,
repo: context.repo.repo,
issue_number: github.event.pull_request.number,
issue_number: context.payload.pull_request.number,
body: commentBody,
});
}

0 comments on commit 9d82371

Please sign in to comment.