MetaMask / MetaMask/action-publish-release

Release fails if the only package being published in monorepo is private

Open
#112 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

bug team-wallet-framework wf-bugs
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

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.