Skip to content

Commit

Permalink
:)
Browse files Browse the repository at this point in the history
  • Loading branch information
therynamo committed Feb 11, 2022
1 parent edd5bf1 commit 1ff87ff
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 2 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.

1 change: 1 addition & 0 deletions src/main.ts
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@ const hasCommitted = async ({ octokit, pull_number, ticketId }: HasCommittedProp
const { data: commits } = await octokit.rest.pulls.listCommits({
...context.repo,
pull_number,
per_page: 100,
});

const hasCommittedAlready = commits?.some((commit) => commit?.commit?.message?.includes(ticketId));
Expand Down

0 comments on commit 1ff87ff

Please sign in to comment.