Github Releases
@reset/github-releasesv2026.10.22.1
01README
Record GitHub releases and asset downloads, and summarise them.
02Behaviors
@reset/github-releasesv2026.10.22.1github_releases.ts
Global Arguments
| Argument | Type | Description |
|---|---|---|
| owner | string | GitHub user or organisation that owns the repository, e.g. cli |
| repo | string | Repository name, e.g. cli for github.com/cli/cli |
| token? | string | Optional 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
| Argument | Type | Description |
|---|---|---|
| maxPages? | number | Most 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
| Argument | Type | Description |
|---|---|---|
| since? | string | Only 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
behavior-spelling1 accepted
- (extension) — Written against swamp 20261020.024627.0, the release that added the behavior spelling. Consumers on an older swamp are not supported.
05Platforms
06Labels