@@ -47,16 +47,15 @@ jobs:
4747 TODAY'S DATE: ${TODAY}
4848
4949 STEP 1: Gather PR data
50- Run these commands to gather PR information:
50+ Run these commands to gather PR information. ONLY include PRs created or updated TODAY (${TODAY}) :
5151
52- # Open PRs with bug fix labels or 'fix' in title
53- gh pr list --repo ${{ github.repository }} --state open --search \"fix in:title\" --json number,title,author,labels,createdAt,updatedAt,reviewDecision,isDraft,additions,deletions --limit 100
52+ # PRs created today
53+ gh pr list --repo ${{ github.repository }} --state all --search \"created:${TODAY}\" --json number,title,author,labels,createdAt,updatedAt,reviewDecision,isDraft,additions,deletions --limit 100
54+
55+ # PRs with activity today (updated today)
56+ gh pr list --repo ${{ github.repository }} --state open --search \"updated:${TODAY}\" --json number,title,author,labels,createdAt,updatedAt,reviewDecision,isDraft,additions,deletions --limit 100
5457
55- # PRs with high activity (get comments separately to filter bots)
56- gh pr list --repo ${{ github.repository }} --state open --json number,title,author,labels,createdAt,updatedAt,reviewDecision,isDraft --limit 100
5758
58- # Recently merged bug fixes
59- gh pr list --repo ${{ github.repository }} --state merged --search \"merged:${TODAY} fix in:title\" --json number,title,author,mergedAt --limit 50
6059
6160 STEP 2: For high-activity PRs, check comment counts
6261 For promising PRs, run:
@@ -66,39 +65,35 @@ jobs:
6665 - copilot-pull-request-reviewer
6766 - github-actions
6867
69- STEP 3: Identify what matters
68+ STEP 3: Identify what matters (ONLY from today's PRs)
7069
71- **Bug Fixes We Might Miss :**
72- - PRs with 'fix' or 'bug' in title that have been open 2+ days
70+ **Bug Fixes From Today :**
71+ - PRs with 'fix' or 'bug' in title created/updated today
7372 - Small bug fixes (< 100 lines changed) that are easy to review
74- - Bug fixes from community contributors (not core team)
73+ - Bug fixes from community contributors
7574
76- **High Activity PRs:**
77- - PRs with 5+ human comments (excluding bots listed above)
78- - PRs with back-and-forth discussion
79- - Controversial or complex changes getting attention
75+ **High Activity Today:**
76+ - PRs with significant human comments today (excluding bots listed above)
77+ - PRs with back-and-forth discussion today
8078
8179 **Quick Wins:**
8280 - Small PRs (< 50 lines) that are approved or nearly approved
83- - Bug fixes that just need a final review
81+ - PRs that just need a final review
8482
8583 STEP 4: Generate the recap
8684 Create a structured recap:
8785
8886 ===DISCORD_START===
8987 **Daily PR Recap - ${TODAY}**
9088
91- **Bug Fixes Needing Attention**
92- [PRs fixing bugs that might be overlooked - prioritize by age and size]
93-
94- **High Activity** (5+ human comments)
95- [PRs with significant discussion - exclude bot comments]
89+ **New PRs Today**
90+ [PRs opened today - group by type: bug fixes, features, etc.]
9691
97- **Quick Wins** (small, ready to merge)
98- [Easy PRs that just need a review/merge ]
92+ **Active PRs Today**
93+ [PRs with activity/updates today - significant discussion ]
9994
100- **Merged Bug Fixes Today **
101- [What bug fixes shipped ]
95+ **Quick Wins **
96+ [Small PRs ready to merge ]
10297 ===DISCORD_END===
10398
10499 STEP 5: Format for Discord
0 commit comments