mirror of
https://github.com/ibiqlik/action-yamllint.git
synced 2024-11-21 22:00:57 -05:00
Upd doc
This commit is contained in:
parent
5ae2508648
commit
e0cc3c23b5
1 changed files with 5 additions and 3 deletions
|
@ -1,6 +1,6 @@
|
|||
# GitHub YAMLlint
|
||||
|
||||
This action executes `yamllint` (https://github.com/adrienverge/yamllint) against file(s) or folder
|
||||
This action executes `yamllint` (https://github.com/adrienverge/yamllint) against files or folder
|
||||
|
||||
## Usage
|
||||
|
||||
|
@ -23,7 +23,7 @@ Simple as:
|
|||
- `strict` - Return non-zero exit code on warnings as well as errors `[true,false] (default: false)`
|
||||
- `no_warnings` - Output only error level problems `[true,false] (default: false)`
|
||||
|
||||
**Note:** If `.yamllint` configuration file exists in your root folder, yamllint will automatically use it.
|
||||
**Note:** If `.yamllint` configuration file exists in your root folder, yamllint automatically uses it.
|
||||
|
||||
### Outputs
|
||||
|
||||
|
@ -31,6 +31,8 @@ Simple as:
|
|||
|
||||
`${{ steps.<step>.outputs.logfile }}`
|
||||
|
||||
**Note:** Each yamllint run (for example if you define multiple yamllint steps) has its own log
|
||||
|
||||
### Example usage in workflow
|
||||
|
||||
```yaml
|
||||
|
@ -49,7 +51,7 @@ jobs:
|
|||
config_file: .yamllint.yml
|
||||
```
|
||||
|
||||
Or just simply check all yaml files in the repository:
|
||||
Or just simply lint all yaml files in the repository:
|
||||
|
||||
```yaml
|
||||
---
|
||||
|
|
Loading…
Reference in a new issue