Skip to content

Commit

Permalink
Add YAML linter for config/
Browse files Browse the repository at this point in the history
  • Loading branch information
nefrathenrici committed Mar 19, 2024
1 parent 64d60d7 commit 8b51851
Showing 1 changed file with 18 additions and 0 deletions.
18 changes: 18 additions & 0 deletions .github/workflows/yaml_format.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
name: YAML Lint
on: [push] # yamllint disable-line rule:truthy
jobs:
config:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: yaml-lint
uses: ibiqlik/action-yamllint@v3
with:
file_or_dir: config
strict: true
# Ignore warning
config_data: |
extends: default
rules:
document-start: disable
line-length: disable

0 comments on commit 8b51851

Please sign in to comment.