feat: pr review reminder frequency (#7129)

* feat: run at 9:00 am on monday, wednesday, friday

Signed-off-by: jeremyhi <fengjiachun@gmail.com>

* chore: remove unused method

Signed-off-by: jeremyhi <fengjiachun@gmail.com>

---------

Signed-off-by: jeremyhi <fengjiachun@gmail.com>
This commit is contained in:
jeremyhi
2025-10-23 14:22:02 +08:00
committed by GitHub
parent e8f39cbc4f
commit 136b9eef7a
2 changed files with 2 additions and 10 deletions

View File

@@ -57,14 +57,6 @@
return days;
}
// Get urgency emoji based on PR age
function getAgeEmoji(days) {
if (days >= 14) return "🔴"; // 14+ days - critical
if (days >= 7) return "🟠"; // 7+ days - urgent
if (days >= 3) return "🟡"; // 3+ days - needs attention
return "🟢"; // < 3 days - fresh
}
// Build Slack notification message from PR list
function buildSlackMessage(prs) {
if (prs.length === 0) {

View File

@@ -2,8 +2,8 @@ name: PR Review Reminder
on:
schedule:
# Run at 9:00 AM UTC+8 (01:00 AM UTC) every day
- cron: '0 1 * * *'
# Run at 9:00 AM UTC+8 (01:00 AM UTC) on Monday, Wednesday, Friday
- cron: '0 1 * * 1,3,5'
workflow_dispatch:
jobs: