Skip to main content

Github Releases

@reset/github-releasesv2026.10.22.1· MIT· 1d agoBEHAVIORSACCEPTED WARNINGS
01README

Record GitHub releases and asset downloads, and summarise them.

02Behaviors1
@reset/github-releasesv2026.10.22.1github_releases.ts

Global Arguments

ArgumentTypeDescription
ownerstringGitHub user or organisation that owns the repository, e.g. cli
repostringRepository name, e.g. cli for github.com/cli/cli
token?stringOptional GitHub token, supplied with a vault.get expression, never a literal. Sent only as an Authorization header; omit it to read a public repository at the unauthenticated rate limit
fn sample(maxPages?: number)
Read the repository's releases from GitHub's REST API and record them as a new version, flagging releases new since the previous one
ArgumentTypeDescription
maxPages?numberMost pages of 100 releases to read, 1 to 10; 10 when omitted
fn summarise(since?: string)
Summarise the recorded samples: per release and asset the first and latest download count and the change, and total downloads
ArgumentTypeDescription
since?stringOnly summarise samples recorded at or after this ISO-8601 time; all samples when omitted

Resources

releases(infinite)— One repository's releases and their assets' download counts at one moment, with the releases new since the previous version
summary(infinite)— Per release and asset the first and latest download count and the change, and the repository's total downloads
03Stats
B
86 / 100
Downloads
0
Archive size
17.8 KB
  • Has README or module doc2/2earned
  • README has a code example1/1earned
  • README is substantive1/1earned
  • Most symbols documented1/1earned
  • No slow types (deprecated)1/1earned
  • Dependencies pass trust audit2/2earned
  • Has description1/1earned
  • Platform support declared (or universal)2/2earned
  • License2/2earned
  • Verified public repository0/2missing

05Platforms
06Labels