Skip to content

Make the typescript build action run only on main branch?Β #210

@jp-pino

Description

@jp-pino

I've got a PR with actions failing because it's trying to push a new version of the protocol:

npm notice Publishing to https://registry.npmjs.org/ with tag latest and public access
npm error code E404
npm error 404 Not Found - PUT https://registry.npmjs.org/@blueyerobotics%2fprotocol-definitions - Not found
npm error 404
npm error 404  '@blueyerobotics/[email protected]' is not in this registry.
npm error 404
npm error 404 Note that you can also install from a
npm error 404 tarball, folder, http url, or git url.
npm error A complete log of this run can be found in: /home/runner/.npm/_logs/2025-07-23T12_52_29_827Z-debug-0.log

Should we restrict what branches the script runs on? Or is there a way to fix it to work for all branches?

Metadata

Metadata

Labels

Type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions