Skip to content

Commit

Permalink
feat: sort by stars
Browse files Browse the repository at this point in the history
  • Loading branch information
alexeagle committed Sep 19, 2023
1 parent 03455dc commit 2e59f09
Show file tree
Hide file tree
Showing 413 changed files with 6,349 additions and 5,241 deletions.
5 changes: 4 additions & 1 deletion filters/ghrepo.jq
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
# Sort by stars, descending
.rulesets | sort_by(.stargazers_count) | reverse

# Grab all the repository fields
[.rulesets[].repository]
| map(.repository)

# Keep only the ones that start with "github:" and trim that prefix
| map(select(startswith("github:")))
Expand Down
Loading

0 comments on commit 2e59f09

Please sign in to comment.