Skip to content

Commit fa5fff6

Browse files
committed
Remove TODO (we can keep the debugging feature in "productio") & Fix regex bug
1 parent ff4d853 commit fa5fff6

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

.github/workflows/PrAssignee.yml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -87,7 +87,7 @@ jobs:
8787
const fileContentsText = fileContentsBufferObj.toString("utf8");
8888
8989
// Find lines that match the following regex, and extract the usernames:
90-
const regex = /^@([a-zA-z0-9\-]+)(\s*?)?(#[\S]*?)?$/;
90+
const regex = /^@([a-zA-Z0-9\-]+)(\s*?)?(#[\S]*?)?$/;
9191
const assigneeCandidates = fileContentsText
9292
.split('\n')
9393
.map(line => line.trim())
@@ -124,7 +124,6 @@ jobs:
124124
125125
if (isCollaborator == true) {
126126
127-
// return; // TODO: Uncomment this line.
128127
if (thisIsActionsRunnerDebugMode) {
129128
// The PR author is a committer
130129
// But thisIsActionsRunnerDebugMode is true, so we proceed to still run the rest of the script

0 commit comments

Comments
 (0)