Skip to main content

🚀 Beta: All Pro and Team features are free. Install on GitHub →

GitHub Actions

CodeRifts GitHub Action — API Governance in Your Workflow

Add coderifts/action@v1 to any GitHub Actions workflow and catch breaking API changes before they reach production. For teams who want full CI control without installing the GitHub App.

Setup in 3 Steps

Add a workflow file, set a secret, and you're done.

1

Get a free API key

Sign up at app.coderifts.com/api/signup to get your API key.

2

Add CODERIFTS_API_KEY as a repository secret

Go to Settings → Secrets and variables → Actions and add the key.

3

Add the workflow file

# .github/workflows/api-governance.yml
name: API Governance

on:
  pull_request:

jobs:
  coderifts:
    runs-on: ubuntu-latest
    steps:
      - uses: actions/checkout@v4
      - uses: coderifts/action@v1
        with:
          api-key: ${{ secrets.CODERIFTS_API_KEY }}
          fail-on-breaking: true

Every pull request will now run a CodeRifts check and post results to the job summary.

GitHub App vs. GitHub Action

Choose the integration that fits your workflow.

GitHub App GitHub Action
SetupOne-click installWorkflow file + API key
PR CommentsAutomatic, inlineVia job summary
Zero ConfigYesRequires workflow file
Best ForTeams wanting zero setupTeams wanting full CI control

Want zero-config PR comments? Install the GitHub App instead.

Start protecting your APIs with GitHub Actions.

Add the action, set your API key, and catch breaking changes on every pull request.