api-preview-docs
api-preview-docs copied to clipboard
"Auto-cancel redundant builds" should be smarter about conditional workflows
trafficstars
Hello, we are attempting to us conditional workflows and pipeline parameters so that we can easily deploy our website. So we have two workflows: 1) a full build and 2) just deploy the site.
Problem steps:
- Merge a change to to
origin/production, which triggers a full build (default pipeline parameters) - Soon after, make a change to the blog which uses the circleci API to trigger a pipeline build (i.e.
parameters: { "build": false, "deploy-site": true }) - Observe on the circleci site that the first build has been canceled.
Since the selected workflows aren't the same, I don't think these builds should be considered "redundant".
Note this issue won’t occur for the default branch...