How would you return a list of GitHub repositories AND only the oldest PR for that repo?
AaronO
✭✭✭
I'm retrieving a list of all the GitHub repos for the Security GH Team, and would like to see the oldest PR for each repo (basically a staleness check).
0
Answers
-
Great question!
FIND github_repo WITH displatName = '{{github_repo.displayName}}' AS x THAT HAS PR AS y RETURN x.displayName, y.displayName, y.createdOn AS Date ORDER BY Date DESC
0
This Month's Leaders
Categories
- 336 All Categories
- Featured Categories
- 7 About the AskJ1 Community
- 11 Product Announcements
- From Mission Control
- 1 Rapid Response
- 3 How J1 Uses J1
- Topics
- 131 Asset Management
- 56 Compliance & Reporting
- 65 Security Operations
- 40 Security Engineering
- 5 Open Source
- 18 News, Careers and More