Skip to content

Commit

Permalink
use pull request number as pull request id
Browse files Browse the repository at this point in the history
  • Loading branch information
whitershade committed Oct 25, 2021
1 parent 530c4d9 commit 307cede
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion dist/index.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion dist/index.js.map

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ export const run = async () => {
blockedProjects,
commentText,
pullRequestDescription: context.payload.pull_request?.body,
pullRequestId: context.payload.pull_request?.id,
pullRequestId: context.payload.pull_request?.number,
pullRequestName: context.payload.pull_request?.title,
pullRequestURL: context.payload.pull_request?.html_url,
pullRequestState: context.payload.pull_request?.state,
Expand Down

0 comments on commit 307cede

Please sign in to comment.