https://github.com/actionhippie/yamllint
Action to validate/lint YAML files
https://github.com/actionhippie/yamllint
action github
Last synced: 5 months ago
JSON representation
Action to validate/lint YAML files
- Host: GitHub
- URL: https://github.com/actionhippie/yamllint
- Owner: actionhippie
- License: apache-2.0
- Created: 2021-10-15T12:39:32.000Z (over 4 years ago)
- Default Branch: master
- Last Pushed: 2026-01-12T08:41:16.000Z (6 months ago)
- Last Synced: 2026-01-12T18:25:23.539Z (6 months ago)
- Topics: action, github
- Language: Nix
- Homepage:
- Size: 158 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE
Awesome Lists containing this project
README
# yamllint
[](https://github.com/actionhippie/yamllint) [](https://github.com/actionhippie/yamllint/actions/workflows/docker.yml)
[GitHub Action](https://github.com/features/actions) to validate/lint YAML files.
## Usage
```yml
name: Example
on:
- push
- pull_request
jobs:
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actionhippie/yamllint@v1
with:
strict: true
```
## Inputs
### `config`
Path to custom configuration file
### `format`
Output formatter, defaults to `parsable`
### `warnings`
Enable warning message output
### `strict`
Return non-zero exit code on warnings
### `path`
Path to check, defaults to `.`
### `print`
Print messages directly, defaults to `true`
## Outputs
### `messages`
Generated validation/linting messages
## Security
If you find a security issue please contact thomas@webhippie.de first.
## Contributing
Fork -> Patch -> Push -> Pull Request
## Authors
* [Thomas Boerger](https://github.com/tboerger)
## License
Apache-2.0
## Copyright
```console
Copyright (c) 2021 Thomas Boerger
```