buildkite-plugins / monorepo-diff-buildkite-plugin

Run separate pipelines for each folder in your monorepo
MIT License
20 stars 6 forks source link

Skip generated pipelines #16

Closed stephanieatte closed 2 months ago

stephanieatte commented 3 months ago

This PR ensures that if a generated pipeline has no steps, it will skip the upload step. The generatePipeline() function now returns a boolean indicating whether any steps were generated. The uploadPipeline() function uses this boolean to decide whether to proceed with uploading the pipeline.