Commit 614f13c
authored
ci: add linked PR feature to popular-issues action (#15355)
# Overview
Adds linked PR detection to the popular-issues Slack notification,
matching the existing feature in new-issues action.
## Key Changes
- **Linked PR detection** - Fetches timeline events for each issue to
find cross-referenced PRs
- **Slack message enhancement** - Appends `:link: Linked PR` link when a
PR references the issue
## Design Decisions
Reused the same pattern from `new-issues.ts` for consistency:
- `getLinkedPRUrl` queries the issues timeline API for
`cross-referenced` events with PR sources
- `Promise.all` fetches linked PRs concurrently for all 10 issues1 parent e833fe6 commit 614f13c
File tree
2 files changed
+32
-5
lines changed- .github/actions/activity
- dist/popular-issues
- src
2 files changed
+32
-5
lines changedSome generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
8 | 8 | | |
9 | 9 | | |
10 | 10 | | |
11 | | - | |
| 11 | + | |
12 | 12 | | |
13 | 13 | | |
14 | 14 | | |
| |||
20 | 20 | | |
21 | 21 | | |
22 | 22 | | |
23 | | - | |
24 | | - | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
25 | 29 | | |
26 | 30 | | |
27 | 31 | | |
28 | 32 | | |
29 | 33 | | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
30 | 50 | | |
31 | 51 | | |
32 | 52 | | |
| |||
47 | 67 | | |
48 | 68 | | |
49 | 69 | | |
50 | | - | |
| 70 | + | |
| 71 | + | |
| 72 | + | |
| 73 | + | |
| 74 | + | |
| 75 | + | |
| 76 | + | |
| 77 | + | |
51 | 78 | | |
52 | 79 | | |
53 | 80 | | |
| |||
0 commit comments