diff --git a/.github/workflows/validate-rgas.yml b/.github/workflows/validate-rgas.yml index 8b24d83243..5e11c6fc7f 100644 --- a/.github/workflows/validate-rgas.yml +++ b/.github/workflows/validate-rgas.yml @@ -1,5 +1,5 @@ name: YAML schema validator -on: [push] +on: [pull_request, push] jobs: yaml-schema-validation: diff --git a/.github/workflows/validate_mapfiles.yml b/.github/workflows/validate_mapfiles.yml index 5dcde52e33..9b045ee68b 100644 --- a/.github/workflows/validate_mapfiles.yml +++ b/.github/workflows/validate_mapfiles.yml @@ -1,5 +1,5 @@ name: YAML schema validator -on: [push] +on: [pull_request, push] jobs: yaml-schema-validation: @@ -15,4 +15,4 @@ jobs: schema: RobustToolbox/Schemas/mapfile.yml path_pattern: .*Resources/Maps/.* validators_path: RobustToolbox/Schemas/mapfile_validators.py - validators_requirements: RobustToolbox/Schemas/mapfile_requirements.txt \ No newline at end of file + validators_requirements: RobustToolbox/Schemas/mapfile_requirements.txt