Skip to content

Latest commit

 

History

History
28 lines (20 loc) · 705 Bytes

README.md

File metadata and controls

28 lines (20 loc) · 705 Bytes

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).