[Hackathon Q1 2024] Generate Rules Overview Page #75
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: YAML Linter | |
on: | |
pull_request: | |
paths: ['**/*.yaml', '**/*.yml'] | |
jobs: | |
Linter: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: ibiqlik/action-yamllint@v3 | |
with: | |
config_data: | | |
extends: default | |
ignore: | | |
examples/linting.yml | |
.github/workflows/**/* | |
rules: | |
document-start: disable | |
new-line-at-end-of-file: disable | |
truthy: disable | |
line-length: disable | |
empty-lines: | |
level: warning | |
trailing-spaces: | |
level: warning |