Skip to content

withgraphite/graphite-ci-action

Repository files navigation

Graphite CI

The Graphite CI action 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

Usage

  1. First, get your CI token from https://app.graphite.dev/ci

  2. Then, add the CI step to your workflow file:

steps:
  - name: Checkout
    uses: withgraphite/graphite-ci-action@main
    with:
      github_token: ${{ secrets.GITHUB_TOKEN }}
      graphite_token: 'XXX'

To instead use a specific version of this action, replace @main with @v1.0 (or whatever the current latest version is).