only count PRs based on master towards maintainer points (#7958)

* only count PRs to master

* note
This commit is contained in:
Matt Fiddaman
2026-05-26 21:36:19 +01:00
committed by GitHub
parent e59af90401
commit cbde2354ba
2 changed files with 7 additions and 1 deletions

View File

@@ -195,7 +195,7 @@ async function countContributorPoints() {
};
// Get all PRs using search
const searchQuery = `repo:${owner}/${repo} is:pr is:merged merged:${since.toISOString()}..${until.toISOString()}`;
const searchQuery = `repo:${owner}/${repo} is:pr is:merged base:master merged:${since.toISOString()}..${until.toISOString()}`;
const recentPRs = await octokit.paginate(
'GET /search/issues',
{