Skip to content

Commit 33359be

Browse files
committed
Fix changelog-generator
1 parent 0814669 commit 33359be

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

changelog-generator/run.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -110,8 +110,8 @@ protected function execute(InputInterface $input, OutputInterface $output)
110110
}
111111

112112
foreach ($commits as $commit) {
113-
$pullRequests = $searchApi->issues(sprintf('repo:phpstan/phpstan-src %s', $commit['hash']));
114-
$issues = $searchApi->issues(sprintf('repo:phpstan/phpstan %s', $commit['hash']), 'created');
113+
$pullRequests = $searchApi->issues(sprintf('repo:phpstan/phpstan-src %s is:pull-request', $commit['hash']));
114+
$issues = $searchApi->issues(sprintf('repo:phpstan/phpstan %s is:issue', $commit['hash']), 'created');
115115
$items = array_merge($pullRequests['items'], $issues['items']);
116116
$parenthesis = 'https://github.com/phpstan/phpstan-src/commit/' . $commit['hash'];
117117
$thanks = null;

0 commit comments

Comments
 (0)