give contributor points for marking issues as duplicates (#6659)

* reward closing issues as duplicates

* note

* remove debugging
This commit is contained in:
Matt Fiddaman
2026-01-16 15:19:57 +00:00
committed by GitHub
parent f5e1d5eab4
commit cd87d5a899
2 changed files with 7 additions and 1 deletions

View File

@@ -278,7 +278,7 @@ async function countContributorPoints() {
if (
event.event === 'closed' &&
event.state_reason === 'not_planned'
['not_planned', 'duplicate'].includes(event.state_reason)
) {
const closer = event.actor.login;
const userStats = stats.get(closer);

View File

@@ -0,0 +1,6 @@
---
category: Maintenance
authors: [matt-fidd]
---
Give contributor points for marking issues as duplicates