2022-09-10 23:17:55 +02:00
|
|
|
---
|
2022-09-11 19:02:20 +02:00
|
|
|
name: PULL_REQUEST - YAML Lint with Reviewdog & Schema Checks
|
2022-09-11 18:58:54 +02:00
|
|
|
on: [pull_request]
|
2022-09-10 23:17:55 +02:00
|
|
|
|
|
|
|
jobs:
|
|
|
|
lintFiles:
|
|
|
|
runs-on: ubuntu-latest
|
|
|
|
steps:
|
|
|
|
- uses: actions/checkout@v3
|
|
|
|
- name: Run yamllint
|
|
|
|
uses: reviewdog/action-yamllint@v1
|
|
|
|
with:
|
|
|
|
reporter: github-pr-review # Change reporter.
|
2022-09-11 19:16:56 +02:00
|
|
|
yamllint_flags: '--config-file .github/.yamllint yml/**/*.yml'
|
2022-09-11 18:58:54 +02:00
|
|
|
- name: Validate OSBinaries YAML Schema
|
|
|
|
uses: cketti/action-pykwalify@v0.3-temp-fix
|
|
|
|
with:
|
|
|
|
files: yml/OSBinaries/*.yml
|
|
|
|
schema: YML-Schema.yml
|
|
|
|
- name: Validate OSLibraries YAML Schema
|
|
|
|
uses: cketti/action-pykwalify@v0.3-temp-fix
|
|
|
|
with:
|
|
|
|
files: yml/OSLibraries/*.yml
|
|
|
|
schema: YML-Schema.yml
|
|
|
|
- name: Validate OSScripts YAML Schema
|
|
|
|
uses: cketti/action-pykwalify@v0.3-temp-fix
|
|
|
|
with:
|
|
|
|
files: yml/OSScripts/*.yml
|
|
|
|
schema: YML-Schema.yml
|
|
|
|
- name: Validate OtherMSBinaries YAML Schema
|
|
|
|
uses: cketti/action-pykwalify@v0.3-temp-fix
|
|
|
|
with:
|
|
|
|
files: yml/OtherMSBinaries/*.yml
|
|
|
|
schema: YML-Schema.yml
|