Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
20 changes: 20 additions & 0 deletions .github/workflows/lint-yaml.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
---

Check warning on line 1 in .github/workflows/lint-yaml.yml

View workflow job for this annotation

GitHub Actions / Run compliance checks on patch series (PR)

YAMLLint (document-start)

.github/workflows/lint-yaml.yml:1 found forbidden document start "---"

name: Lint yaml files

on:
pull_request:
types: [push, opened, reopened, synchronized]
paths:
- '.github/test-spec.yml'

jobs:
lintAllTheThings:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4
- name: yaml-lint
uses: ibiqlik/action-yamllint@2576378a8e339169678f9939646ee3ee325e845c # v3.1.1
with:
file_or_dir: .github/test-spec.yml
config_file: .github/yamllint.yml
14 changes: 14 additions & 0 deletions .github/yamllint.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
extends: default

ignore: |
*.md
CODEOWNERS
*.ini

rules:
colons: disable
comments: disable
comments-indentation: disable
document-start: disable
line-length: disable
new-line-at-end-of-file: disable
Loading