From 43b48f57acd3c625fb6e76c485b8614972fba93e Mon Sep 17 00:00:00 2001 From: xenoscr Date: Sun, 11 Sep 2022 12:58:54 -0400 Subject: [PATCH] Making final changes to workflows. --- .github/workflows/yaml-lint-reviewdog.yml | 27 ++++++++++++++++++----- .github/workflows/yaml-linting.yml | 2 +- 2 files changed, 23 insertions(+), 6 deletions(-) diff --git a/.github/workflows/yaml-lint-reviewdog.yml b/.github/workflows/yaml-lint-reviewdog.yml index 3cd1dd7..ef3ba33 100644 --- a/.github/workflows/yaml-lint-reviewdog.yml +++ b/.github/workflows/yaml-lint-reviewdog.yml @@ -1,9 +1,6 @@ --- -name: YAML Lint with reviewdog -on: - pull_request: - branches: - - master +name: PULL_REQUEST: YAML Lint with Reviewdog & Schema Checks +on: [pull_request] jobs: lintFiles: @@ -15,3 +12,23 @@ jobs: with: reporter: github-pr-review # Change reporter. yamllint_flags: '--config-file .github/.yamllint' + - 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 diff --git a/.github/workflows/yaml-linting.yml b/.github/workflows/yaml-linting.yml index 5782c37..1f0eec8 100644 --- a/.github/workflows/yaml-linting.yml +++ b/.github/workflows/yaml-linting.yml @@ -1,5 +1,5 @@ --- -name: YAML Lint and Validation Push Check +name: PUSH: YAML Lint and Schema Validation Checks on: [push] jobs: