ynathaniel-source/WhyDidItFail
Analyzes CI failures and posts root cause + fix suggestions. Add with if: failure() - see README for setup.
View on GitHubTrust Signals
- Scorecard Score
- not yet scored
- Maintenance Recency
- Stale
- License
- None
Inputs
| name | description | required | default |
|---|---|---|---|
| github_token | GitHub token for authentication (defaults to secrets.GITHUB_TOKEN) | no | ${{ github.token }} |
| service_url | Base URL of the explanation service (uses hosted service by default) | no | https://4tt0zovbna.execute-api.us-east-1.amazonaws.com |
| mode | Output mode: 'summary' (job summary) or 'comment' (PR comment) | no | summary |
| max_log_kb | Maximum log size in KB to send to service | no | 400 |
| redact | Redact common secrets from logs before analysis | no | true |
| suggest_fixes | Post inline fix suggestions as PR review comments or commit comments | no | true |
| cleanup_old_comments | Clean up old WhyDidItFail comments from previous runs | no | true |
| max_wait_seconds | Maximum time to wait for analysis to complete (in seconds) | no | 180 |
| poll_interval_seconds | How often to check analysis status (in seconds) | no | 3 |
Outputs
no outputs