overturemaps/stac-check-action
Run stac-check on local STAC files
View on GitHubTrust Signals
- Scorecard Score
- not yet scored
- Maintenance Recency
- Stale
- License
- None
Inputs
| name | description | required | default |
|---|---|---|---|
| stac-check-version | stac-check PyPI version (e.g., 1.9.1 or v1.9.1; leading "v" stripped) or "latest" | yes | — |
| file | Path to local STAC file to validate | yes | — |
| recursive | Recursively validate related local STAC objects | no | false |
| max-depth | Maximum recursion depth (requires recursive: true) | no | "" |
| validate-assets | Validate assets locally (no network requests) | no | false |
| pydantic | Use stac-pydantic for enhanced validation | no | false |
| verbose | Show verbose error messages | no | false |
| fast | Fast validation with FastJSONSchema, no geometry/linting | no | false |
| fast-linting | Fast validation with linting, no geometry checks | no | false |
| output-file | Save CLI output to file (requires recursive: true per stac-check CLI) | no | "" |
| job-summary | Write validation results to GitHub job summary | no | true |
| comment-pr | Post validation summary as PR comment (requires pull-requests: write) | no | false |
| extra-args | Additional stac-check CLI arguments (appended last) | no | "" |
| config | Path to config file or inline YAML (sets STAC_CHECK_CONFIG env var) | no | "" |
Outputs
| name | description |
|---|---|
| exit-code | Raw stac-check CLI exit code. Note: not authoritative for recursive validation — check `valid` instead, since stac-check often returns 0 even when recursive validation fails. |
| log-path | Path to captured stac-check stdout/stderr. Set on every successful invocation of the runner (created before input validation, so available even on early-exit errors). |
| valid | Authoritative validation result: `true` if no failure markers were found in the stac-check output, `false` otherwise. |