Skip to content

A local-first personal finance app

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

Matt Fiddamancd87d5a8991d
diff --git a/.github/scripts/count-points.mjs b/.github/scripts/count-points.mjs
index eb038615b3..181bf9f2bb 100644
--- a/.github/scripts/count-points.mjs
+++ b/.github/scripts/count-points.mjs
@@ -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);
diff --git a/upcoming-release-notes/6659.md b/upcoming-release-notes/6659.md
new file mode 100644
index 0000000000..ccc7d02d52
--- /dev/null
+++ b/upcoming-release-notes/6659.md
@@ -0,0 +1,6 @@
+---
+category: Maintenance
+authors: [matt-fidd]
+---
+
+Give contributor points for marking issues as duplicates