Skip to content

Conversation

@Xuanwo
Copy link
Member

@Xuanwo Xuanwo commented Jan 17, 2024

Close #3967

@Xuanwo Xuanwo requested a review from PsiACE as a code owner January 17, 2024 08:19
@github-actions github-actions bot added the releases-note/ci The PR modifies CI-related content or has a title that begins with "ci" label Jan 17, 2024
Signed-off-by: Xuanwo <[email protected]>
Signed-off-by: Xuanwo <[email protected]>
Signed-off-by: Xuanwo <[email protected]>
Signed-off-by: Xuanwo <[email protected]>
@Xuanwo Xuanwo merged commit 746cf43 into main Jan 17, 2024
@Xuanwo Xuanwo deleted the reviewer branch January 17, 2024 08:34
}

// Extract committers from placeholder line
const committers = placeholderLine.match(/@[\w-]+/g).map(u => u.substring(1));
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Weird parsing. If we don't use CODEOWNER native function, why not simply configure a JS array:

const candidate = [
  "Xuanwo",
  "Ji-Xinyou",
  ...
];

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

GitHub's UI natively supports CODEOWNERS to ensure we reference the correct GitHub IDs.

image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

releases-note/ci The PR modifies CI-related content or has a title that begins with "ci"

Projects

None yet

Development

Successfully merging this pull request may close these issues.

idea: Pick random committers to review PRs

3 participants