ythirion/GreenIT Analysis
Run GreenIT-Analysis CLI and enforce an EcoIndex quality gate on your web application
View on GitHubTrust Signals
- Scorecard Score
- not yet scored
- Maintenance Recency
- Stale
- License
- None
Inputs
| name | description | required | default |
|---|---|---|---|
| url-file | Path (relative to workspace) to a YAML file containing the list of URLs to analyze | no | greenit-urls.yaml |
| min-ecoindex | Minimum EcoIndex score (0–100) required to pass the quality gate | no | 90 |
| timezone | Timezone passed to the GreenIT container (e.g. Europe/Paris, America/New_York) | no | Europe/Paris |
| greenit-image | Docker image to use for the GreenIT-Analysis CLI | no | jpreisner/greenit-analysis-cli:latest |
| fail-on-threshold | Fail the workflow step when any URL EcoIndex is below min-ecoindex | no | true |
| upload-report | Upload the generated HTML report as a workflow artifact | no | true |
| report-name | Name of the uploaded artifact | no | greenit-report |
| retention-days | Number of days to retain the uploaded artifact | no | 30 |
Outputs
| name | description |
|---|---|
| ecoindex | The lowest EcoIndex score (0–100) across all analyzed URLs |
| report-path | Absolute path to the generated HTML report on the runner |