hugomcfonseca/gdashlint
Lint Grafana dashboard JSON files with gdashlint.
View on GitHubTrust Signals
- Scorecard Score
- not yet scored
- Maintenance Recency
- Stale
- License
- None
Inputs
| name | description | required | default |
|---|---|---|---|
| command | gdashlint command to run. One of lint, fix, or rules. | no | lint |
| paths | Newline-separated dashboard files or directories to lint or fix. | no | . |
| config | Optional path to a gdashlint YAML configuration file. | no | "" |
| format | Output format. Use github for GitHub Actions annotations. | no | github |
| fail-on | Minimum severity that fails the action. One of error, warning, info, or none. | no | "" |
| sort | Sort mode. One of severity or file. | no | "" |
| dry-run | Preview fix remediations without writing files. Used only with command=fix. | no | false |
| mode | Fix write mode. One of in-place or copy. Used only with command=fix. | no | in-place |
| suffix | Suffix used before the extension in copy mode. Used only with command=fix. | no | .fixed |
| version | gdashlint release tag to run. Pin to a release tag such as v0.2.0 for reproducibility. | no | latest |
| distribution | How to run gdashlint. Use binary to download GitHub release assets, or docker for the container image. | no | binary |
| image | Container image repository to run when distribution=docker. | no | docker.io/hugomcfonseca/gdashlint |
| github-token | GitHub token used to resolve latest releases. Defaults to the workflow token. | no | "" |
Outputs
no outputs