Skip to content

v0.17.1

Latest

Choose a tag to compare

@github-actions github-actions released this 30 Nov 13:24
· 14 commits to main since this release
Immutable release. Only release title and notes can be modified.
v0.17.1
199a579

Added

  • A site and a web app fail CI when a built page's first visit, gzipped, weighs over its budget: 200 kB a page, set in .github/scripts/page-weight.mjs for a site and scripts/page-weight.mjs for a web app, with per-page overrides. The check needs only Node. site.yml runs just site-page-weight after the build, and a web app's ts.yml and just ts-check run pnpm run page-weight. It counts the page's HTML and the same-origin files it loads up front, not cross-origin requests or dynamic imports. See Static site.
  • A web app's bundle check also fails a pull request that grows the gzipped JavaScript (the largest file, or all files together) by more than 5% and 2 kB against the last build on main, so a heavy dependency shows up in the pull request that adds it. The 100 KiB ceiling stays a backstop, raised only when it trips. Add the bundle-growth label to accept the growth and re-run the job; run just repo-settings once to create the label. ts.yml's check job gains actions: read to download main's sizes and pull-requests: read to see the label, which it keeps as the bundle-sizes artifact; until a push to main has stored one, the growth check skips. See TypeScript kinds.

Changed

  • A Rust binary release's archive smoke test no longer compares the archive with target/<target>/release. It unpacks the archive and checks its exact file list (the binary, output.schema.json when the project has one, and the LICENSE* files, which the archives now hold), then runs --version and expects the tag's version, on a runner whose own target it is. The publish job also writes SHA256SUMS for the archives and hands it to the release job, which runs sha256sum -c over its downloaded assets before it verifies each archive's attestation. The file is a check between the two jobs, not a release asset. A target the runner cannot execute logs a notice that its --version is not checked.
  • just release X.Y.Z refuses unless pyproject.toml, Cargo.toml and package.json all name X.Y.Z, in every project, not only one that publishes to PyPI, crates.io or npm. Before, a project that published nowhere could tag v0.2.0 with 0.1.0 in its manifests. A web app's package.json is still set by the first run.
  • A Go project's license check runs osv-scanner (osv-scanner scan source --licenses=... -L go.mod) in place of go-licenses, which has had no release since 2025-09 and carries unmerged fixes. It reads the licenses of the go.mod dependencies from deps.dev, so it needs network access, and the allow-list now uses the same SPDX ids as the other stacks. Run copier update; nothing else to do. The scanner needs Go 1.27.3, so a project on an older Go toolchain downloads that one for the check.

Fixed

  • The dependency review check skips with a notice in a public repository whose dependency graph is off, instead of failing every pull request. just repo-settings turns the graph on.
  • just down in a project with the docker stack passes --remove-orphans, so containers from an overlay dropped from COMPOSE_FILE (a tunnel, say) are removed too.
  • The image's .dockerignore in a project with the docker stack lists compose.yml next to compose.yaml, so either Compose file name stays out of the build context.
  • just release treats its version argument as a literal string before validation, so an invalid argument containing spaces fails with not a version instead of running part of the argument as a shell command.
  • Repeating just release X.Y.Z before its release commit merges leaves the changelog and commit unchanged. It prints the merge instruction instead of adding a duplicate version section.
  • The weekly template updater publishes only from the default branch. A manual run on another branch or a tag cannot replace chore/copier-update with that ref's commits.
  • verify-tag.sh and tag-release.sh no longer claim the signature check stops an unsigned tag from publishing: the workflow runs the tagged commit's copy, which the tag's pusher can change. The comments name the tags ruleset and the release environment's review as the controls.
  • A data pipeline's README and python.yml say that a source with a sha256 pin never reaches the weekly "Source data revised upstream" issue: its new bytes fail just fetch first.
  • just repo-settings adds the main branch policy for the ghcr environment only in a project that publishes an image to GHCR.
  • A Zensical docs site's weekly link check skips links it cannot follow: a {{ config.* }} value Zensical fills in, a local preview server such as http://localhost:8000, and https://www.npmjs.com, which answers link checkers with 403 Forbidden.