Skip to content

Publish from three jobs with one permission each, with actions pinned - #9

Merged
bayasdev merged 1 commit into
mainfrom
harden-publishing
Nov 12, 2026
Merged

bayasdev merged 1 commit into
mainfrom
harden-publishing

Conversation

@bayasdev

Copy link
Copy Markdown
Owner

The publish workflow ran the whole toolchain in a job that could also publish to npm and write to the repository, with actions referenced by tags that can be moved.

  • Three jobs: one checks and packs, one publishes that tarball with --ignore-scripts and holds only the npm permission, one creates the GitHub release.
  • The tag must be a commit of main.
  • Every action is pinned to a commit SHA, and checkouts don't keep their credentials.

The same workflow has published sealbound 1.0.3.

@bayasdev
bayasdev merged commit 3a7d0f0 into main Nov 12, 2026
3 checks passed
@bayasdev
bayasdev deleted the harden-publishing branch November 12, 2026 21:10
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