Skip to content
This repository was archived by the owner on Jul 1, 2024. It is now read-only.

Commit 75440cb

Browse files
committed
New stale reviewers implies new reviewedAbbrOid
1 parent 54a3333 commit 75440cb

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

src/comments.ts

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
1-
import { sha256 } from "./util/util";
2-
31
// use `deletedWhenNotPresent` for comments that should be removed if not in the actions
42
export const tagsToDeleteIfNotPosted: string[] = [];
53
const deletedWhenNotPresent = <T>(tag: string, f: (tag: string) => T) => {
@@ -59,7 +57,7 @@ ${names.map(n => `${n}`).join(" ")}
5957
});
6058

6159
export const PingStaleReviewer = (reviewedAbbrOid: string, reviewers: string[]) => ({
62-
tag: `stale-ping-${sha256(reviewers.join("-")).substr(0, 6)}-${reviewedAbbrOid}`,
60+
tag: `stale-ping-${reviewedAbbrOid}`,
6361
status: `@${reviewers.join(", @")} Thank you for reviewing this PR! The author has pushed new commits since your last review. Could you take another look and submit a fresh review?`
6462
});
6563

0 commit comments

Comments
 (0)