chelseakr/GTFS Scorecard gate
Score a GTFS Schedule feed and fail the build if it falls below a grade or is about to expire.
View on GitHubTrust Signals
- Scorecard Score
- not yet scored
- Maintenance Recency
- Stale
- License
- None
Inputs
| name | description | required | default |
|---|---|---|---|
| feed-url | Direct link to a GTFS Schedule zip to score. | yes | — |
| min-grade | Fail if the overall grade is below this letter (A, B, C, D, or F). Leave blank to skip the grade check. | no | "" |
| min-days-to-expiry | Fail if the feed expires within this many days. Leave blank to skip the expiry check. | no | "" |
| name | Agency name to show in the report (default: the feed host). | no | "" |
| country | Assigned ISO 3166-1 alpha-2 feed country used by the validator. | no | US |
| html | Path to also write a standalone HTML scorecard (relative to the workspace). Leave blank to skip. | no | "" |
| json | Path for the complete scorecard JSON. Defaults to a runner temporary file. | no | "" |
| summary | Write a plain-language scorecard to the GitHub job summary (true or false). | no | true |
| ref | Deprecated compatibility input. The scorer is bundled with the Action release, so its version always matches the Action ref. | no | "" |
Outputs
| name | description |
|---|---|
| grade | Overall letter grade (A, B, C, D, or F). |
| score | Overall numeric score from 0 to 100. |
| days-to-expiry | Published service days remaining, or blank when unavailable. |
| passed | true when scoring and every configured threshold passed. |
| result-json | Path to the complete scorecard JSON artifact for later workflow steps. |