Skip to content

Commit

Permalink
Adds yamllint
Browse files Browse the repository at this point in the history
  • Loading branch information
san983 committed Jan 23, 2025
1 parent 0393ee7 commit 03a5f3c
Show file tree
Hide file tree
Showing 2 changed files with 20 additions and 1 deletion.
11 changes: 10 additions & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,8 @@ name: CI
on:
pull_request:
push:
branches: [ "main" ]
branches:
- main
workflow_dispatch:

concurrency:
Expand All @@ -22,6 +23,14 @@ jobs:
files: .
config_file: ".markdownlint.yaml"

yamllint:
runs-on: ubuntu-latest
steps:
- name: Checkout Code
uses: actions/checkout@v4
- name: Run YAML Lint
uses: actionshub/yamllint@main

build:
name: Build
runs-on: ubuntu-22.04
Expand Down
10 changes: 10 additions & 0 deletions .yamllint
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
---
extends: default
rules:
document-start: false
line-length:
max: 256
level: warning
truthy:
ignore: |
/.github/workflows/*.yml

0 comments on commit 03a5f3c

Please sign in to comment.