Skip to content

Commit 4ffd7c5

Browse files
authored
[CI] Use pre-commit to run yamllint (#554)
1 parent 1aad9f3 commit 4ffd7c5

File tree

2 files changed

+6
-24
lines changed

2 files changed

+6
-24
lines changed

.github/workflows/yaml-lint.yml

Lines changed: 0 additions & 24 deletions
This file was deleted.

.pre-commit-config.yaml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,12 @@ repos:
3434
hooks:
3535
- id: flake8
3636

37+
# YAML linting
38+
- repo: https://github.com/adrienverge/yamllint.git
39+
rev: v1.37.1
40+
hooks:
41+
- id: yamllint
42+
3743
# Configuration
3844
default_stages: [pre-commit]
3945
fail_fast: false

0 commit comments

Comments
 (0)