Skip to content

Commit

Permalink
yamllint
Browse files Browse the repository at this point in the history
  • Loading branch information
hugovk committed Feb 12, 2025
1 parent c7188d3 commit ec33490
Show file tree
Hide file tree
Showing 3 changed files with 15 additions and 3 deletions.
11 changes: 8 additions & 3 deletions .github/workflows/require-pr-label.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,11 @@ jobs:
with:
mode: minimum
count: 1
labels:
"changelog: Added, changelog: Changed, changelog: Deprecated, changelog:
Fixed, changelog: Removed, changelog: Security, changelog: skip"
labels: |
changelog: Added
changelog: Changed
changelog: Deprecated
changelog: Fixed
changelog: Removed
changelog: Security
changelog: skip
5 changes: 5 additions & 0 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,11 @@ repos:
hooks:
- id: tox-ini-fmt

- repo: https://github.com/google/yamlfmt
rev: v0.16.0
hooks:
- id: yamlfmt

- repo: https://github.com/rbubley/mirrors-prettier
rev: v3.5.0
hooks:
Expand Down
2 changes: 2 additions & 0 deletions .yamlfmt.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
formatter:
retain_line_breaks_single: true

0 comments on commit ec33490

Please sign in to comment.