docs: always show the commitor (#49881)

This commit is contained in:
二货爱吃白萝卜 2024-07-15 19:10:47 +08:00 committed by GitHub
parent cc56db669f
commit 0adecd843b
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -23,26 +23,27 @@ const QUERY_TITLE = '.gh-header-title .js-issue-title';
const QUERY_DESCRIPTION_LINES = '.comment-body table tbody tr';
const QUERY_AUTHOR = '.pull-discussion-timeline .TimelineItem:first .author:first';
// https://github.com/orgs/ant-design/teams/ant-design-collaborators/members
// no need filter: https://github.com/ant-design/ant-design/pull/49878#issuecomment-2227853899
const MAINTAINERS = [
'zombiej',
'afc163',
'chenshuai2144',
'shaodahong',
'xrkffgg',
'AshoneA',
'yesmeck',
'bang88',
'yoyo837',
'hengkx',
'Rustin-Liu',
'fireairforce',
'kerm1it',
'madccc',
'MadCcc',
'li-jia-nan',
'kiner-tang',
'Wxh16144',
].map((author) => author.toLowerCase());
// 'zombiej',
// 'afc163',
// 'chenshuai2144',
// 'shaodahong',
// 'xrkffgg',
// 'AshoneA',
// 'yesmeck',
// 'bang88',
// 'yoyo837',
// 'hengkx',
// 'Rustin-Liu',
// 'fireairforce',
// 'kerm1it',
// 'madccc',
// 'MadCcc',
// 'li-jia-nan',
// 'kiner-tang',
// 'Wxh16144',
].map((author: string) => author.toLowerCase());
const cwd = process.cwd();
const git = simpleGit(cwd);