Test Failure Trigger
The Test Failure Trigger automatically analyzes failed CI/CD workflows on GitAuto-created PRs, identifies the root cause, and creates fix commits. It also cancels running workflows to prevent waste when new commits are added.
Why use the test failure trigger?
Automatic Error Analysis: GitAuto reads error logs, identifies root causes, and creates targeted fixes without human intervention.
Workflow Optimization: Cancels running workflows when fix commits are added, preventing unnecessary CI/CD resource usage and costs.
Safety Mechanisms: If the process encounters issues, you can safely stop it by closing the PR or deleting the branch.
Perfect for: Teams with complex CI/CD pipelines, projects with strict test requirements, and reducing manual debugging of test failures.
How to use the test failure trigger
Enable the Trigger
Go to your Trigger Settings and ensure "On test failure" is enabled. This trigger is enabled by default.
GitAuto Detects Test Failures
When a CI/CD workflow fails on a GitAuto-created PR, the trigger automatically activates. It only responds to failures on GitAuto PRs, not human-created ones.


Error Analysis & Fix Creation
GitAuto analyzes the error logs, identifies the root cause, and creates a fix commit. It also attempts to cancel any running workflows to prevent resource waste. If the failure reveals a repo-specific pattern (e.g., a required env var or a type convention), GitAuto records it in GITAUTO.md to avoid the same mistake in future PRs.

Safety Controls
If the automated process encounters issues or you want to stop it, you have two options:
Note: These safety mechanisms ensure you always have control over the automated fixing process.
Usage Cost
No Cost - Test failure fixes are free. This trigger adds fixes to existing GitAuto PRs without creating new ones.
Ready for automatic test fixing? Enable Test Failure Trigger in your settings and let GitAuto handle CI/CD failures automatically.
CI/CD Pipeline Chaos?
When your CI/CD pipeline is more complex than a Rube Goldberg machine, getting GitAuto to play nicely can be challenging. We love solving these integration puzzles!
Contact us and let's tame that pipeline!