Skip to content

Commit 921f17a

Browse files
authored
CI: PrAssignee.yml: Comment out some more label-related code (JuliaLang#58621)
Follow-up to JuliaLang#58606
1 parent 8d2708c commit 921f17a

File tree

1 file changed

+11
-11
lines changed

1 file changed

+11
-11
lines changed

.github/workflows/PrAssignee.yml

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -200,17 +200,17 @@ jobs:
200200
weDidEncounterError = true;
201201
console.log(`ERROR: Failed to assign @${selectedAssignee}`);
202202
}
203-
const newPrLabels = updatedPrData
204-
.data
205-
.labels
206-
.map(element => element.name)
207-
console.log('newPrLabels: ', newPrLabels);
208-
if (newPrLabels.includes(prReviewLabel)) {
209-
console.log('Successfully added prReviewLabel');
210-
} else {
211-
weDidEncounterError = true;
212-
console.log('ERROR: Failed to add add prReviewLabel');
213-
}
203+
// const newPrLabels = updatedPrData
204+
// .data
205+
// .labels
206+
// .map(element => element.name)
207+
// console.log('newPrLabels: ', newPrLabels);
208+
// if (newPrLabels.includes(prReviewLabel)) {
209+
// console.log('Successfully added prReviewLabel');
210+
// } else {
211+
// weDidEncounterError = true;
212+
// console.log('ERROR: Failed to add add prReviewLabel');
213+
// }
214214
215215
// Post a comment
216216
const commentBody = `Hello! I am a bot.\n\nThank you for your pull request!\n\nI have assigned \`@${selectedAssignee}\` to this pull request.\n\n\`@${selectedAssignee}\` can either choose to review this pull request themselves, or they can choose to find someone else to review this pull request.`

0 commit comments

Comments
 (0)