Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Skip build steps under some conditions #93

Merged
merged 1 commit into from
Aug 30, 2023
Merged

Conversation

bryfox
Copy link
Contributor

@bryfox bryfox commented Aug 30, 2023

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

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.
@bryfox bryfox requested a review from wkalt August 30, 2023 20:39
@bryfox bryfox merged commit 05d1927 into main Aug 30, 2023
1 check passed
@bryfox bryfox deleted the bryan/ci-skip-build-on-forks branch August 30, 2023 21:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

2 participants