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
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 | |
|---|---|---|
| Setup | One-click install | Workflow file + API key |
| PR Comments | Automatic, inline | Via job summary |
| Zero Config | Yes | Requires workflow file |
| Best For | Teams wanting zero setup | Teams 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.