Files
Delta-v/.github/workflows/validate_mapfiles.yml
T
Tobias Berger 645d8b6b26 Maintaining (#5214)
* Try and touch up workflows, god help me if this breaks something

* Remove unused email

* Remove Breaking changes, we don't do those here

* Better PR template

* Change header in new pr template

* Use different token

* No approval workflow
2026-01-17 15:12:52 -06:00

26 lines
868 B
YAML

name: Map file schema validator
on:
push:
branches: [ master ]
merge_group:
pull_request:
types: [ opened, reopened, synchronize, ready_for_review ]
jobs:
yaml-schema-validation:
name: YAML map schema validator
if: github.actor != 'PJBot' && github.event.pull_request.draft == false && github.actor != 'DeltaV-Bot'
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4.2.2
- name: Setup Submodule
run: git submodule update --init
- name: Pull engine updates
uses: space-wizards/submodule-dependency@v0.1.5
- uses: PaulRitter/yaml-schema-validator@v1
with:
schema: RobustToolbox/Schemas/mapfile.yml
path_pattern: .*Resources/Maps/.*
validators_path: RobustToolbox/Schemas/mapfile_validators.py
validators_requirements: RobustToolbox/Schemas/mapfile_requirements.txt