Closed kenorb closed 4 years ago
By default yamllint
checks every .yaml file in the path. To ignore certain paths you have two options
.yamllint
file in your root git repository and set your desired behavior, like ignoring paths, setting rules etc.
---
extends: default
ignore: | .git /ignore/my/other/dir/
2. Use `config_data` in the GitHub action to specify configuration
```yaml
- uses: ibiqlik/action-yamllint@v1
with:
config_data: "{extends: default, ignore: .git}"
For more details on specific configuration of yamllint itself please refer to documentation, for this specific question look here https://yamllint.readthedocs.io/en/stable/configuration.html#ignoring-paths
Thanks, I'll test suggested approach.
Build: 869097594
It seems action is trying to lint files within
.git
it-self. Can this be disabled by default?