Skip to content

ci: add npm provenance to release publishing#9

Merged
joelhooks merged 5 commits into
mainfrom
shitrat/npm-provenance-hardening
May 21, 2026
Merged

ci: add npm provenance to release publishing#9
joelhooks merged 5 commits into
mainfrom
shitrat/npm-provenance-hardening

Conversation

@joelhooks
Copy link
Copy Markdown
Contributor

Summary

  • adds least-privilege release workflow permissions
  • grants OIDC id-token: write for npm provenance
  • enables npm provenance for Changesets publish via NPM_CONFIG_PROVENANCE=true

Verification

  • parsed workflow YAML locally with Ruby YAML.load_file

@vercel
Copy link
Copy Markdown

vercel Bot commented May 21, 2026

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
scriptkit Ready Ready Preview, Comment May 21, 2026 6:27am

@shitratgit
Copy link
Copy Markdown

shitratgit Bot commented May 21, 2026

Pushed bd246fb8ddd4909ae956d4087cf6b922e6456372 after CI exposed existing @skillrecordings/skill-api type/build drift.

Fixes:

  • Cast mjml2html(...) result where the current type can be async.
  • Add explicit any annotations for the NextAuth adapter callback params that were failing noImplicitAny.

The provenance workflow change itself is still tiny; this just gets the repo's existing build back through the gate instead of letting unrelated type drift block the hardening PR.

@shitratgit
Copy link
Copy Markdown

shitratgit Bot commented May 21, 2026

Current state: the hardening branch itself now has Lint and Test green after fixing the existing skill-api type drift exposed by CI.

Holding merge because Vercel reports a failed deployment check:

Vercel fail: Deployment has failed
Lint and Test pass

This PR only touches the release workflow plus two type fixes needed to get CI green. I’m not merging across a red Vercel check without either logs proving it is unrelated or explicit approval to treat the Vercel deployment as non-blocking for this repo.

@joelhooks joelhooks merged commit b7f2f96 into main May 21, 2026
5 checks passed
@joelhooks joelhooks deleted the shitrat/npm-provenance-hardening branch May 21, 2026 06:27
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