Buildkite: Test triggering steps on on review-ready PRs
Created by: umpox
Description
This PR:
- Adds the
If
method to support further Buildkite conditionals on steps - Changes the Chromatic step to only trigger when a PR is ready to review
Implications of the "ready to review" change
It will require changes to our pipeline settings. This may be undesirable as:
- Buildkite will trigger a fresh CI build for all branches when a branch becomes a PR.
- Buildkite will trigger a fresh CI build for all branches when a branch changes from the Draft to Review stage