foxglove / foxglove-python

🐍🦊 Python library for Foxglove Data Platform
MIT License
6 stars 10 forks source link

Skip build steps under some conditions #93

Closed bryfox closed 1 year ago

bryfox commented 1 year ago

In particular, if the source of a PR is a fork do not run the test build. Doing so causes this CI step to fail because the API token is missing.

This is the approach used in the mcap repo: https://github.com/foxglove/mcap/blob/a68c76979d646fa90a24bff3457be2da0c371f0a/.github/workflows/ci.yml#L259