Skip to content

Trust signals: pinned actions, Scorecard, driver diff, README Security (#64) - #147

Merged
okomarov merged 4 commits into
mainfrom
chore/trust-signals
Oct 18, 2026
Merged

okomarov merged 4 commits into
mainfrom
chore/trust-signals

Conversation

@okomarov

@okomarov okomarov commented Oct 18, 2026 •

Copy link
Copy Markdown

Part of #64.

  • Pins every action to the commit of the version already in use (checkout and setup-node v4.4.0, setup-deno v1.5.2), and gives test.yml a read-only token by default, so only the publish job holds id-token.
  • Adds an OpenSSF Scorecard workflow (pushes to main, weekly), which publishes to scorecard.dev and uploads findings to code scanning. No README badge until the score reaches 9. Dependabot opens one grouped PR a month for GitHub Actions, keeping the SHA pins current.
  • Adds docs/changes-since-3.4.9.diff, generated by npm run diff:upstream from src/ and types/ only: 12 files against the compare view's 196. The tag run's publish job refuses to stage a release whose diff is stale. Checked locally that a shallow clone produces the same bytes.
  • README Security: names the maintainer, says provenance applies since 4.5.0 (4.4.1 and earlier have none), points to the provenance on npmjs.com, and links the driver diff in place of the compare view.

checkout and setup-node stay on v4.4.0 and setup-deno on v1.5.2; a moved
tag can no longer change what runs in the publish jobs. test.yml now grants
contents: read at the top, so only the publish job holds id-token.
Scorecard runs on pushes to main and weekly, publishes to scorecard.dev for
the README badge, and uploads its findings to code scanning. Dependabot
opens one grouped pull request a month for GitHub Actions, which keeps the
SHA pins current.
The README's compare view covers 196 files, mostly the codemod, tests and
the deleted cjs, deno and cf builds, and GitHub truncates it; src and types
alone are 12 files. npm run diff:upstream regenerates the diff with full blob
hashes, so a shallow CI clone produces the same bytes, and the tag run's
publish job refuses to stage a release whose diff is stale.
@okomarov
okomarov force-pushed the chore/trust-signals branch from 4cb0ff6 to 0bf4fb7 Compare October 18, 2026 14:35
@okomarov
okomarov merged commit 0bf4fb7 into main Oct 18, 2026
18 checks passed
@okomarov
okomarov deleted the chore/trust-signals branch October 18, 2026 14:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant