Skip to content

Commit ff4d853

Browse files
committed
More fixes
1 parent 0bc84ef commit ff4d853

File tree

1 file changed

+4
-6
lines changed

1 file changed

+4
-6
lines changed

.github/workflows/PrAssignee.yml

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -107,7 +107,7 @@ jobs:
107107
return;
108108
}
109109
110-
110+
111111
const RUNNER_DEBUG_original = process.env.RUNNER_DEBUG;
112112
console.log('RUNNER_DEBUG_original: ', RUNNER_DEBUG_original);
113113
if (RUNNER_DEBUG_original === undefined) {
@@ -123,7 +123,7 @@ jobs:
123123
console.log('thisIsActionsRunnerDebugMode: ', thisIsActionsRunnerDebugMode);
124124
125125
if (isCollaborator == true) {
126-
126+
127127
// return; // TODO: Uncomment this line.
128128
if (thisIsActionsRunnerDebugMode) {
129129
// The PR author is a committer
@@ -199,11 +199,9 @@ jobs:
199199
body: commentBody,
200200
});
201201
202-
// Sanity check 1: Make sure that assignee was successfully assigned.
203-
// Sanity check 2:
204-
// Exit with error if any
202+
// Exit with error if any problems were encountered earlier
205203
if (weDidEncounterError) {
206-
const msg = 'ERROR: Encountered at least one error while running the script';
204+
const msg = 'ERROR: Encountered at least one problem while running the script';
207205
console.error(msg);
208206
throw new Error(msg);
209207
}

0 commit comments

Comments
 (0)