Add the option to only release canaries when label present
What Changed
This adds a onlyReleaseCanaryOnLabel flag that can be used w/ auto shipit or auto canary. When specified a canary release will only be triggered if a canary label is present.
Why
Canaries can be noisy (and you don't always want them). Typically this sort of behavior can be handled at the CI level. Here's pr I implemented that does that for CircleCI orbs: https://github.com/auto-it/orbs/pull/7
Being able to do this natively within auto means it's easier to use for all types of CI.
Todo:
- [x] Add tests
- [ ] Add docs
Change Type
Indicate the type of change your pull request is:
- [ ]
documentation - [ ]
patch - [x]
minor - [ ]
major
There's a few test failures I missed there that I'll follow up on tomorrow.
Sorry friends, don't have the capacity to pick this one back up.