Repository navigation
Releases
Releases · DigitalPebble/aspen
v1.4.1
Aspen 1.4.1
14 commits since v1.4.0, changing 13 files (363 lines added, 62 removed).
Breaking changes
- The action no longer builds from source. It always downloads the prebuilt binary. A SHA or branch ref (
uses: DigitalPebble/aspen@<sha>) now fails unless you also setversion: vX.Y.Z, and so does a runner with no prebuilt binary (macOS x64, Windows arm, Linux on other architectures).@v1and@v1.4.1are unaffected. - Releases up to v1.4.0 no longer install through the action. The action now checks a build attestation, which 1.4.1 is the first release to carry.
version: v1.4.0and older fail the check.
Security
- Build attestations.
release.ymlhas anattestjob that signs every archive withactions/attest-build-provenance.install-binary.shrunsgh attestation verifyafter the SHA-256 check, so the action now proves the binary was built by this repository's release workflow, not only that the download is intact. - No unpinned third-party toolchain action. Removing the build-from-source path removes
dtolnay/rust-toolchain@stablefrom the action.
New features
@v1andversion: v1resolve to the newestv1.x.yrelease. Before,@v1built from source.version: latestuses the same lookup. If no release matches (for examplev9), the action fails with an error naming the version.- Clear errors. A SHA or branch ref without
versionfails withpass version: vX.Y.Z when pinning to a SHA or branch. An unsupported runner fails withNo prebuilt binary for <os>/<arch>.
Release process
release.shwaits for the release workflow, downloads the draft's archives and verifies the attestation of each one before telling you to publish. When a check fails it prints thegh release delete <tag> --cleanup-tag --yescommand that removes the draft and the tag.- The
attestjob hascontents: write, because a draft release is only visible to a token with write access. actions/checkoutmoves from v3 and v4 to v5 in all workflows, which removes the Node.js 20 deprecation warnings.
Documentation
- The README documents pinning to a commit SHA together with
version, the attestation check, and the extra values accepted byversion(v1.4.1,v1,latest). LICENSEholds the full Apache-2.0 text, so GitHub detects the licence.
Branding
- A workflow rotates the logo each season.
v1.4.0
17 commits since v1.3.0, changing 25 files (1,068 lines added, 155 removed).
Breaking change
--token/-tis gone. The CLI now reads the token only fromINPUT_GITHUB_TOKEN, as the GitHub Action already did. A token passed as an argument shows up in the process list and in shell history.
New features
-u/--userfor personal accounts (#74). It fetches billing data from/users/{user}/settings/billing/usage. You can't combine it with--organization, and the period options work the same way. It needs a fine-grained token with Account permissions > Plan > Read-only.- The jobs source fetches in parallel and shows progress. 8 worker threads fetch each run's jobs and print a progress line about every 5%. Results keep the run order.
Fixes
- Billing data without an organisation name. Personal account exports have no
organizationName, and parsing them used to fail. The field is now optional.--repositorymatches on the repository name alone when there is no organisation. - Pipe mode works when a token is set.
cat bill.json | aspenfailed with "Organization is required" ifINPUT_GITHUB_TOKENwas exported. Pipe mode now runs when stdin isn't a terminal and none of--file,--organizationor--repositoryis set. - Hitting the API rate limit stops the run with an error. On a 429, or a 403 with no requests left, aspen exits with a non-zero code and writes no report. The message suggests a personal access token, fewer days, or the billing source.
Documentation
- The README and website now compare the API cost and speed of the two sources. The jobs source makes one request per workflow run, plus one per 100 runs listed, and is rate limited above roughly 950 runs with the built-in token. The billing source makes one request per calendar month.
- The README documents the rate limit and explains how to load the token without exposing it.
Website (new)
- One-page site at aspen.digitalpebble.com (#45). The methodology page is built from
METHODOLOGY.md. /simulator/page (#83). It estimates energy, carbon and water from a number of Actions minutes and a runner type, with equivalents in cups of tea, car kilometres and baths. It readsresources/config.json, so it uses the same values as the estimator.- Sponsor link in the header.
Branding
- Winter, spring, summer and autumn versions of the icon. The README now points straight at the autumn SVG, which fixes the broken logo.
CI
- The Rust workflow now runs
cargo clippy --all-targets -- -D warningsandcargo fmt --check(#86). This came with the fix for themanual_is_multiple_oflint. - The Rust workflow skips changes that only touch the website, and a new
pages.ymlworkflow builds the site.
Full Changelog: v1.3.0...v1.4.0
v1.3.0
What's new
- Water consumption. Aspen now estimates water use and splits it between data centre cooling and electricity generation (#61).
- Packages storage. Storage for GitHub Packages is now estimated, with a configurable replication factor (#60).
- macOS runners. The power of the standard macOS runners is now estimated, and the retired
macos-14andmacos-13labels map to their replacements (#66).
Changes to the estimates
- Runner power now uses the latest BoaviztAPI figures (#63, fixes #62). Expect somewhat different numbers for the same workloads compared with 1.2.0.
- The US grid carbon intensity now uses the 2025 Ember data (#64).
Documentation and housekeeping
- Added METHODOLOGY.md, linked from the README, and corrected the units for the energy metrics (#56).
- Added CONTRIBUTING.md and a Contributing section in the README.
- New autumn aspen leaf logo, with the icon leaf centred and enlarged (#57).
- Simplified the badge handling in the carbon workflows (#51, #52).
release.shnow force-fetches tags, so the movedv1tag no longer aborts it.
Full changelog: v1.2.0...v1.3.0
v1.2.0
What's Changed
- Add workflow to update major version tag on release by @jnioche in #43
- Add Why? and What next? sections to README by @jnioche in #47
- Change aspen action version tag to v1 by @jnioche in #48
- Publish the badge from the action by @jnioche in #49
- Release 1.2.0 by @jnioche in #50
Full Changelog: v1.1.0...v1.2.0
v1.1.0
What's Changed
- Per-workflow summary table for the jobs source by @jnioche in #39
- Use the last N days for the billing source by default by @jnioche in #40
- Give the Aspen step in carbon.yml an id by @jnioche in #35
- Add a billing-source carbon workflow with a gold badge by @jnioche in #36
- Add CI CO2eq billing badge to README by @jnioche in #37
- Release 1.1.0 by @jnioche in #41
Full Changelog: v1.0.0...v1.1.0
v1.0.0
What's Changed
- Rename ginkgo to aspen by @jnioche in #30
- Better README by @jnioche in #31
- Release 1.0.0 by @jnioche in #32
- Update Aspen action to use DigitalPebble version by @jnioche in #33
- Fix duplicate branding in action.yml; draft releases; README rewrite by @jnioche in #34
Full Changelog: v0.3.0...v1.0.0
v0.3.0
What's Changed
- Action: download the prebuilt release binary, tag releases with a
vprefix by @jnioche in #19 - Improve README installation docs and promote
--summaryin the CLI by @jnioche in #20 - Restrict the action to the repository it runs in by @jnioche in #21
- Add a jobs source: per-repo usage without an admin token by @jnioche in #22
- Update GitHub Sponsors username in FUNDING.yml by @jnioche in #24
- Map Windows, Windows ARM and Linux Slim SKUs to runner power factors by @jnioche in #25
- Add year, month and day options for billing source by @jnioche in #26
- Generate a shields.io badge on completion of the workflow by @jnioche in #27
- Add the carbon badge to the README by @jnioche in #28
- Release 0.3.0 by @jnioche in #29
Full Changelog: 0.2.0...v0.3.0
0.2.0
What's Changed
- run as a filter if no args are provided, fixes #6 by @jnioche in #7
- Estimate energy and emissions for Actions storage, fixes #1 by @jnioche in #11
- Release workflow by @jnioche in #12
- Add job summary and step outputs to the GitHub Action, harden
action.ymlby @jnioche in #13 - Fix documentation for token to use; fixes #8 by @jnioche in #14
- Revise README for features and usage clarity by @jnioche in #15
- improved README + rust workflow does not trigger for README and .github by @jnioche in #16
- Release 0.2.0 by @jnioche in #17
New Contributors
Full Changelog: https://github.com/DigitalPebble/ginkgo/commits/0.2.0