Skip to content
This repository was archived by the owner on Aug 5, 2026. It is now read-only.

Align publish.yml with our standard OIDC staged-publishing workflow - #69

Merged
patocallaghan merged 2 commits into
masterfrom
patoc/oidc-staged-publish-template
Jun 9, 2026
Merged

Align publish.yml with our standard OIDC staged-publishing workflow#69
patocallaghan merged 2 commits into
masterfrom
patoc/oidc-staged-publish-template

Conversation

@patocallaghan

Copy link
Copy Markdown
Contributor

Aligns the release workflow with our standard OIDC + staged-publishing template.

  • Pin actions to v6 by commit SHA
  • verify runs release guards only (tag matches package.json, release is on the default branch); the build runs in the publish job
  • Explicit dist-tag resolution so a prerelease version can't publish to latest
  • Install/build use the repo's package manager (yarn); only the publish step uses npm

- Pin actions to v6 by commit SHA
- verify runs release guards only (tag matches package.json, release on
  the default branch); the build runs in the publish job
- Explicit dist-tag resolution so a prerelease version can't publish to latest
- Install/build use the repo's package manager (yarn); only the publish
  step uses npm
@socket-security

socket-security Bot commented Jun 9, 2026

Copy link
Copy Markdown

Review the following changes in direct dependencies. Learn more about Socket for GitHub.

Diff Package Supply Chain
Security
Vulnerability Quality Maintenance License
Updatedgithub/​actions/​checkout@​34e114876b0b11c390a56381ad16ebd13914f8d5 ⏵ de0fac2e4500dabe0009e67214ff5f5447ce83dd99100100100100

View full report

setup-node v6 auto-enables dependency caching when package.json declares a
packageManager. Because this workflow publishes on release, a restored cache
could feed runtime artifacts into the publish step (cache poisoning), so turn
the cache off explicitly with package-manager-cache: false.
@patocallaghan
patocallaghan marked this pull request as ready for review June 9, 2026 15:45
@patocallaghan
patocallaghan merged commit 38bf9fd into master Jun 9, 2026
3 of 4 checks passed
@patocallaghan
patocallaghan deleted the patoc/oidc-staged-publish-template branch June 9, 2026 15:50
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants