Skip to content

Commit c555b21

Browse files
committed
docs: document fork/archive filtering in update-contributors skill
1 parent 6731786 commit c555b21

1 file changed

Lines changed: 4 additions & 3 deletions

File tree

  • .github/skills/update-contributors

.github/skills/update-contributors/SKILL.md

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -45,9 +45,10 @@ npm run update-contributors
4545
### 3. What the script does
4646

4747
1. Fetches all repositories from the Torrust GitHub organization
48-
2. Fetches contributors from each repository
49-
3. Deduplicates contributors by username
50-
4. Updates `defaultContributorsList` in `src/lib/constants/constants.ts`
48+
2. **Filters out forked and archived repositories** — forks include upstream contributors from projects Torrust doesn't own (e.g. `cargo-chef`, `grcov`), and archived repos are no longer active
49+
3. Fetches contributors from each remaining repository (using the GitHub `/contributors` endpoint, which returns users who have authored at least one commit)
50+
4. Deduplicates contributors by username
51+
5. Updates `defaultContributorsList` in `src/lib/constants/constants.ts`
5152

5253
### 4. Verify and commit
5354

0 commit comments

Comments
 (0)