Skip to main content

Overview

The DepFixer GitHub Action analyzes your project’s dependencies on every pull request, posting a detailed report as a PR comment with health score, conflicts found, and fix commands.

Quick Start

1. Get an API Key

Go to app.depfixer.com/dashboard/api-keys and create a new API key.

2. Add Secret to GitHub

In your repository, go to Settings > Secrets and variables > Actions > New repository secret.
  • Name: DEPFIXER_API_KEY
  • Value: Your API key (starts with dfx_live_)

3. Create Workflow

Add this file to your repository:
.github/workflows/depfixer.yml
That’s it! DepFixer will now check your dependencies on every PR.

Configuration

Outputs

Advanced Examples

Fail on Low Health Score

Custom package.json Path (Monorepo)

Run on Push to Main

Scheduled Weekly Check

PR Comment

When post-comment is enabled, DepFixer posts a comment on the PR with:
  • Health score
  • Issue summary by severity (critical, high, medium, low)
  • Detailed conflict list (collapsible)
  • Fix commands (copy-paste ready)
The comment is automatically updated on subsequent pushes to avoid spam.

Usage Limits

View your usage at app.depfixer.com/dashboard/api-keys.

Troubleshooting

”Invalid or expired API key”

Verify your secret is set correctly. The key should start with dfx_live_.

”Run limit exceeded”

You’ve reached your monthly limit. Upgrade your plan or wait for the monthly reset.

Action doesn’t post comment

Ensure the workflow has pull_request trigger and the post-comment input is true (default).