diff --git a/.github/workflows/yaml-lint-reviewdog.yml b/.github/workflows/yaml-lint-reviewdog.yml deleted file mode 100644 index 500f25c..0000000 --- a/.github/workflows/yaml-lint-reviewdog.yml +++ /dev/null @@ -1,35 +0,0 @@ ---- -name: PULL_REQUEST - YAML Lint with Reviewdog & Schema Checks -on: [pull_request] - -jobs: - lintFiles: - runs-on: ubuntu-latest - steps: - - uses: actions/checkout@v3 - - name: Run yamllint - uses: reviewdog/action-yamllint@v1 - with: - level: error - reporter: github-pr-review # Change reporter. - yamllint_flags: '--config-file .github/.yamllint yml/**/*.yml' - - 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 cf3a72e..70d7678 100644 --- a/.github/workflows/yaml-linting.yml +++ b/.github/workflows/yaml-linting.yml @@ -1,6 +1,6 @@ --- -name: PUSH - YAML Lint and Schema Validation Checks -on: [push] +name: PUSH & PULL REQUEST - YAML Lint and Schema Validation Checks +on: [push,pull_request] jobs: lintFiles: