The Graphite CI buildkite plugin allows you to define when to run CI.
Common optimizations include:
- Only running CI on the bottom N PRs of a stack
- Only running CI once downstack CI has passed
-
First, get your CI token from https://app.graphite.dev/ci
-
Then, add the CI step to your pipeline file:
steps:
- plugins:
- withgraphite/graphite-ci#main:
graphite_token: 'XXX'
To instead use a
specific version of
this action, replace @main
with @v1.0
(or whatever the current latest
version is).