Skip to content

Commit

Permalink
ci:
Browse files Browse the repository at this point in the history
  • Loading branch information
Gustav-Eikaas committed Dec 21, 2023
1 parent 8a4760b commit 14ef197
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions .github/helpers/src/issue-checker.ts
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ async function checkIssues(client: Octo, pr: number) {
id
number
title
timelineItems(first: 100) {
timelineItems(first: 100, itemTypes: [CONNECTED_EVENT]) {
__typename
... on PullRequestTimelineItemsConnection{
totalCount
Expand Down Expand Up @@ -81,8 +81,6 @@ async function checkIssues(client: Octo, pr: number) {
{ owner: context.repo.owner, name: context.repo.repo, pr: pr }
);

console.log(JSON.stringify(pullRequests));

const linkedIssues: number = (pullRequests as any).repository.pullRequest.timelineItems.totalCount;

if (linkedIssues === 0) {
Expand Down

0 comments on commit 14ef197

Please sign in to comment.