enriconunes/Claude AutoFix

Automatically analyses and fixes failing tests using Claude AI (Python/pytest, JS/TS with Vitest or Jest)

View on GitHub

Trust Signals

Scorecard Score
not yet scored
Maintenance Recency
Activelast commit Apr 20, 2026
License
MIT

Pinned Snippet

workflow.ymlSHA-pinned
uses: enriconunes/claude-autofix-action@86cc82d4d18e33e99106982f12b5e2a502d5ab97 # v2.1.2

tags can be moved; commit SHAs can't. why a SHA?

namedescriptionrequireddefault
anthropic-api-keyAnthropic API key (ANTHROPIC_API_KEY)yes
max-fixesMaximum number of fixes per runno5
python-versionPython version to useno3.11
create-prAutomatically create a Pull Request with the fixes (true/false)notrue
test-frameworkTest framework: pytest | vitest | jestnopytest
languageSource language: python | typescript | javascriptnopython
enable-error-logAppend failing test info to logs/error_history.jsonl in main (true/false). Does not consume Claude tokens.nofalse
enable-insightsPost a Claude-powered insight comment on the PR based on the author's error history (true/false). Requires enable-error-log on previous runs to have data. Consumes Claude tokens.nofalse
namedescription
fixes-appliedNumber of fixes successfully applied
pr-urlURL of the Pull Request created with the fixes