Skip to content

Commit

Permalink
Fix rapids-bot login name (#187)
Browse files Browse the repository at this point in the history
  • Loading branch information
AyodeAwe authored May 31, 2024
1 parent e79fc8b commit e236fc8
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/shared.ts
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,7 @@ export const isGPUTesterPR = (
export const isRapidsBotPR = (
pullRequest: Pick<PullsGetResponseData, "user">
): boolean => {
return pullRequest.user?.login.toLowerCase() === "rapids-bot";
return pullRequest.user?.login.toLowerCase() === "rapids-bot[bot]";
};

/**
Expand Down
2 changes: 1 addition & 1 deletion test/label_checker.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -219,7 +219,7 @@ describe("Label Checker", () => {
test("correct labels - rapids-bot PR", async () => {
const context = makePRContext({
title: "[gpuCI] Forward-merge branch-0.18 to branch-0.19 [skip ci]",
user: "rapids-bot",
user: "rapids-bot[bot]",
});
await new LabelChecker(context).checkLabels();
expect(mockCreateCommitStatus).toBeCalledTimes(2);
Expand Down

0 comments on commit e236fc8

Please sign in to comment.