Skip to content

Commit d24569d

Browse files
committed
Fix the sub agent for contributor
1 parent 94cbea9 commit d24569d

File tree

1 file changed

+36
-8
lines changed

1 file changed

+36
-8
lines changed

.github/skills/changelog-generator/sub-skills/contributor-attribution.md

Lines changed: 36 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -72,11 +72,39 @@ if ($attribution) {
7272

7373
## High-Impact Community Members
7474

75-
These contributors have made significant ongoing contributions and are recognized in COMMUNITY.md:
76-
- @davidegiacometti
77-
- @htcfreek
78-
- @daverayment
79-
- @jiripolasek
80-
- And others listed in the "High impact community members" section
81-
82-
Always thank them appropriately!
75+
These contributors have made significant ongoing contributions and are recognized in COMMUNITY.md.
76+
**ALWAYS thank these contributors** - they are NOT core team and deserve recognition:
77+
78+
```
79+
@davidegiacometti, @htcfreek, @daverayment, @jiripolasek
80+
```
81+
82+
Check COMMUNITY.md for the full up-to-date list under "High impact community members" section.
83+
84+
## Updated Check Author Script
85+
86+
```powershell
87+
$coreTeam = @(
88+
'craigloewen-msft', 'niels9001', 'dhowett', 'yeelam-gordon', 'jamrobot',
89+
'lei9444', 'shuaiyuanxx', 'moooyo', 'haoliuu', 'chenmy77', 'chemwolf6922',
90+
'yaqingmi', 'zhaoqpcn', 'urnotdfs', 'zhaopy536', 'wang563681252', 'vanzue',
91+
'zadjii-msft', 'khmyznikov', 'chatasweetie', 'MichaelJolley', 'Jaylyn-Barbee',
92+
'zateutsch', 'crutkas'
93+
)
94+
95+
# High-impact community members - ALWAYS thank these!
96+
$highImpactCommunity = @(
97+
'davidegiacometti', 'htcfreek', 'daverayment', 'jiripolasek'
98+
)
99+
100+
function Get-Attribution {
101+
param([string]$author)
102+
103+
# Core team and bots don't need thanks
104+
if ($coreTeam -contains $author -or $author -match '\[bot\]$') {
105+
return $null
106+
}
107+
# Everyone else (including high-impact community) gets thanked
108+
return "Thanks [@$author](https://github.com/$author)!"
109+
}
110+
```

0 commit comments

Comments
 (0)