avishj/AutoLighthouse
Maximalist Lighthouse CI with zero config. Includes preset-based thresholds, multi-URL/multi-profile auditing, serverless regression detection, and automatic GitHub Issue lifecycle management. No hosted LHCI server required.
View on GitHubTrust Signals
- Scorecard Score
- not yet scored
- Maintenance Recency
- Activelast commit Feb 27, 2026
- License
- AGPL 3.0
Pinned Snippet
uses: avishj/autolighthouse@64d8fc7a7afb054cec115c7777b1cfce807f6e0b # no releases — HEAD as of 2026-07-13tags can be moved; commit SHAs can't. why a SHA?
Inputs
| name | description | required | default |
|---|---|---|---|
| mode | Action mode: audit (run Lighthouse) or report (aggregate and analyze results). | no | audit |
| urls | Newline-separated list of URLs to audit. Required for audit mode. | no | — |
| profile | Device profile for this run (mobile, tablet, or desktop). | no | mobile |
| preset | Assertion preset: strict (default), moderate, or relaxed. | no | strict |
| runs | Number of Lighthouse runs per URL (median aggregation). | no | 5 |
| regression-threshold | Percentage increase from rolling average to flag as regression. | no | 10 |
| consecutive-fail-limit | Consecutive failures before persistent alert. | no | 3 |
| fail-on | When to fail the workflow: error, warn, or never. | no | error |
| budgets | true for built-in budgets, false to disable, or path to custom budget.json. | no | true |
| create-issues | Enable GitHub Issue lifecycle management. | no | true |
| upload-artifacts | Upload Lighthouse results as GitHub Actions artifacts. | no | true |
| temporary-public-storage | Upload reports to temporary public storage for shareable links. | no | true |
| history-path | Path for regression history JSON file. Set to empty string to disable history and regression detection. | no | .lighthouse/history.json |
| cleanup-stale-paths | Remove history entries for URL/profile combinations no longer being audited. | no | false |
| stale-path-days | Days to wait before removing stale history entries (requires cleanup-stale-paths to be true). | no | 30 |
| max-history-runs | Maximum number of history runs to keep per URL/profile combination. | no | 100 |
| github-token | GitHub token for issue management and history commits. | no | ${{ github.token }} |
Outputs
| name | description |
|---|---|
| results | JSON string of all audit results (per-URL metrics, pass/fail, regressions). |
| regressions | JSON string of detected regressions. |
| has-regressions | 'true' or 'false' for easy conditional use in workflows. |