fix(npm): publish automation not running for releases created by Release Please#39
Conversation
…KEN trigger suppression Agent-Logs-Url: https://github.com/Primajin/Gyros/sessions/cb280944-3ee1-4aca-85f4-1984d38b03a3 Co-authored-by: Primajin <[email protected]>
|
2026-07-10T19:19:25.107Z-iPad_Pro_landscape-b6ce62b.png2026-07-10T19:19:25.107Z-iPad_Pro-b6ce62b.png2026-07-10T19:19:25.107Z-iPhone_13-b6ce62b.png |
Console Logs✅ No logs were captured |
There was a problem hiding this comment.
Pull request overview
This PR fixes npm publish automation not running for GitHub Releases created by Release Please (where release.published-triggered workflows may not fire when the release is created via GITHUB_TOKEN) by running the npm publish steps within the same release-please workflow execution.
Changes:
- Add an npm publish job to
release-please.yml, gated onrelease_created == 'true', so publishing happens in the same workflow run that creates the release. - Add
id-token: writeto supportnpm publish --provenance. - Convert the standalone
npm-publish.ymlworkflow fromrelease.publishedtoworkflow_dispatch(manual backstop).
Reviewed changes
Copilot reviewed 2 out of 2 changed files in this pull request and generated 1 comment.
| File | Description |
|---|---|
| .github/workflows/release-please.yml | Adds an in-workflow publish-npm job so npm publishing runs during Release Please when a release is created. |
| .github/workflows/npm-publish.yml | Switches publish workflow trigger to manual-only to avoid relying on release.published for Release Please-created releases. |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
|
@copilot please address the comment |
Co-authored-by: Primajin <[email protected]>
Added job-level |
2026-07-10T19:56:20.905Z-iPad_Pro_landscape-7018692.png2026-07-10T19:56:20.905Z-iPad_Pro-7018692.png2026-07-10T19:56:20.905Z-iPhone_13-7018692.png |






Thanks for asking me to work on this. I will get started on it and keep this PR's description up to date as I form a plan and make progress.