mirror of
https://github.com/actualbudget/actual.git
synced 2026-07-16 07:04:23 -05:00
only count PRs based on master towards maintainer points (#7958)
* only count PRs to master * note
This commit is contained in:
2
.github/scripts/count-points.mjs
vendored
2
.github/scripts/count-points.mjs
vendored
@@ -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',
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user