Skip to content
Closed
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
24 changes: 24 additions & 0 deletions .github/workflows/pr-lint.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
name: Validate YAML Configs

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

View workflow job for this annotation

GitHub Actions / validate-yaml

1:1 [document-start] missing document start "---"

on:

Check warning on line 3 in .github/workflows/pr-lint.yml

View workflow job for this annotation

GitHub Actions / validate-yaml

3:1 [truthy] truthy value should be one of [false, true]
push:
branches:
- main
pull_request:

jobs:
validate-yaml:
runs-on: ubuntu-latest

steps:
- name: Checkout Repository

Check failure on line 14 in .github/workflows/pr-lint.yml

View workflow job for this annotation

GitHub Actions / validate-yaml

14:5 [indentation] wrong indentation: expected 6 but found 4
uses: actions/checkout@v3

- name: Install yamllint
run: |
sudo apt-get update
sudo apt-get install -y yamllint

- name: Validate All YAML Files
run: |
find . -name "*.yaml" -o -name "*.yml" -exec yamllint {} \;
Loading