mirror of
https://github.com/actualbudget/actual.git
synced 2026-03-11 17:47:00 -05:00
give contributor points for marking issues as duplicates (#6659)
* reward closing issues as duplicates * note * remove debugging
This commit is contained in:
2
.github/scripts/count-points.mjs
vendored
2
.github/scripts/count-points.mjs
vendored
@@ -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);
|
||||
|
||||
6
upcoming-release-notes/6659.md
Normal file
6
upcoming-release-notes/6659.md
Normal file
@@ -0,0 +1,6 @@
|
||||
---
|
||||
category: Maintenance
|
||||
authors: [matt-fidd]
|
||||
---
|
||||
|
||||
Give contributor points for marking issues as duplicates
|
||||
Reference in New Issue
Block a user