Skip to content

Commit 2a2fbfc

Browse files
committed
fixup!
1 parent 3177839 commit 2a2fbfc

1 file changed

Lines changed: 0 additions & 16 deletions

File tree

tools/get-inactive-members.mjs

Lines changed: 0 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -201,15 +201,6 @@ async function fetchMembersAndTeams(github, org, throttle, core) {
201201
* they've been involved in within the org since the cutoff. A member is
202202
* active if the count is > 0.
203203
*
204-
* This replaces the original per-member issue + commit search (2 REST/GraphQL
205-
* calls per member) with one batched GraphQL request for N members.
206-
*
207-
* Note: the `involves:` qualifier covers issue/PR authorship, assignment,
208-
* mentions, comments, and reviews — which is a superset of what the commit
209-
* search would reveal for most active contributors. Pure-commit activity
210-
* (direct pushes with no PR) is the one edge case this misses; if that
211-
* matters, re-enable a commit search pass for members still flagged inactive.
212-
*
213204
* @param {object} github - Authenticated Octokit client.
214205
* @param {string} org - Organization login.
215206
* @param {string[]} logins - Member logins to check in this batch.
@@ -438,13 +429,6 @@ async function upsertReportIssue(github, owner, repo, body, throttle, core) {
438429
/**
439430
* Identifies inactive members of a GitHub organization and emits a Markdown report.
440431
*
441-
* A member is inactive if they belong to no teams OR have had no interaction
442-
* with any org repository in the last X months. All outbound GitHub requests
443-
* are serialized through a 30-req/min throttle. Activity checks are batched
444-
* via aliased GraphQL queries (~20 members per request). The report is posted
445-
* as an issue in the workflow's repo — an existing open report with the same
446-
* title is updated in place, otherwise a new issue is created.
447-
*
448432
* @param {object} params
449433
* @param {object} params.github - Authenticated Octokit client.
450434
* @param {object} params.context - GitHub Actions context object.

0 commit comments

Comments
 (0)