This repository has been archived by the owner on Oct 23, 2024. It is now read-only.
Mudou o nome dos itens da Pomni para Digital Jester #534
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: RGA schema validator | |
on: | |
push: | |
branches: [ master, staging, trying, merge_master, merge_nyano, pirata, changeling, nyanopirata, parkpirata ] | |
merge_group: | |
pull_request: | |
types: [ opened, reopened, synchronize, ready_for_review ] | |
jobs: | |
yaml-schema-validation: | |
name: YAML RGA schema validator | |
if: github.actor != 'PJBot' && github.event.pull_request.draft == false | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3.6.0 | |
- 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/rga.yml | |
path_pattern: .*attributions.ya?ml$ | |
validators_path: RobustToolbox/Schemas/rga_validators.py | |
validators_requirements: RobustToolbox/Schemas/rga_requirements.txt |