You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
feat(workflows): add CorePing GitHub workflow for Core PR review reminders
Add scheduled workflow to run coreping task at 11am San Francisco time (19:00 UTC), Monday through Saturday. This service tracks Core/Core-Important PRs and sends reminder notifications to @comfyanonymous for unreviewed PRs.
🤖 Generated with [Claude Code](https://claude.ai/code)
Co-Authored-By: Claude <[email protected]>
staleMessage: `<!-- COMFY_PR_BOT_TRACKER --> This PR has been waiting for a response for too long. A reminder is being sent to @comfyanonymous.`,
46
52
reviewedMessage: `<!-- COMFY_PR_BOT_TRACKER --> This PR is reviewed! When it's ready for review again, please add a comment with **+label:Core-Ready-for-Review** to reminder @comfyanonymous to restart the review process.`,
conststatusMsg=`@${pr.user?.login}'s ${corePrLabel.name} PR <${pr.html_url}|${santizedTitle}> is waiting for your feedback for more than ${hours} hours.`;
constnotifyMessage=`Hey <@comfy>, Here's x${staleCorePRs.length} Core/Important PRs waiting your feedback!\n\n${staleCorePRsMessage}\n... and there are ${freshCorePRs.length} more fresh Core/Core-Important PRs.\n cc <@Yoland> <@snomiao>`;
239
+
constfreshMsg=!freshCorePRs ? "" : `and there are ${freshCorePRs.length} more fresh Core/Core-Important PRs.\n`;
240
+
constnotifyMessage=`Hey <@comfy>, Here's x${staleCorePRs.length} Core/Important PRs waiting your feedback!\n\n${staleCorePRsMessage}\n${freshMsg}\nSent from <CorePing> by <@snomiao> cc <@Yoland>`;
210
241
console.log(chalk.bgBlue(notifyMessage));
211
242
212
243
// TODO: update message with delete line when it's reviewed
244
+
// send or update slack message
245
+
letmeta=awaitMeta.$upsert({});
246
+
if(meta.lastSlackMessage){
247
+
// if <24 h since last sent (not edit), update that msg
0 commit comments