MetaMask / MetaMask/action-publish-release
Release fails if the only package being published in monorepo is private
Nobody has claimed this yet.
- Dominant language
- TypeScript
- Stars
- 22
- Forks
- 8
- PR merge metrics
- No merged PRs in 30d
Description
When publishing a release in a monorepo with a single package that is private (and potentially multiple that are all private), the release fails:
```
Error: Error: The computed release notes are empty.
at getReleaseNotes (/home/runner/work/_actions/MetaMask/action-publish-release/v3/dist/index.js:11094:15)
```
This can be seen in [this workflow run](https://github.com/MetaMask/snaps/actions/runs/13635952613/job/38117341085).
I think this happens because it's trying to create release notes from only public packages.
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reproducing the failure from the linked workflow run and trace the getReleaseNotes path shown in the stack trace. Compare release behavior when all packages are private versus when a public package is present; done means a release with only private packages no longer fails because computed release notes are empty.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- github-actions, typescript
- Domain
- ci-cd, release
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 42/100