fix(workflows): Update release workflow to trigger on published releases#19
fix(workflows): Update release workflow to trigger on published releases#19higherbros merged 2 commits intomainfrom
Conversation
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: d09efbd3cb
ℹ️ About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
There was a problem hiding this comment.
Pull request overview
This PR updates the GitHub Actions release workflow to enable automatic npm publishing when releases are created by release-please. The changes address the workflow trigger mismatch that was preventing automatic npm publishing.
Changes:
- Added a custom
RELEASE_PLEASE_TOKENto the release-please workflow to allow it to trigger other workflows - Updated npm-publish workflow to trigger on both
publishedandcreatedrelease types (release-please createspublishedreleases by default) - Minor formatting cleanup of inline comment spacing
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 custom token parameter to enable triggering downstream workflows like npm-publish |
| .github/workflows/npm-publish.yml | Adds 'published' release type trigger and fixes comment formatting |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
Fix the release workflow to allow to trigger the npm publish automatically.