# Conflicts: # .github/workflows/build-test-debug.yml # Content.Client/Atmos/Consoles/AtmosAlarmEntryContainer.xaml.cs # Content.IntegrationTests/Tests/PostMapInitTest.cs # Content.Server/StoreDiscount/Systems/StoreDiscountSystem.cs # Content.Server/Zombies/ZombieSystem.cs # Content.Shared/Nutrition/EntitySystems/HungerSystem.cs # Resources/Locale/en-US/_strings/atmos/gases.ftl # Resources/Locale/en-US/_strings/components/atmos-monitoring-component.ftl # Resources/Locale/en-US/_strings/tools/components/tool-component.ftl # Resources/Prototypes/Entities/Mobs/Player/silicon.yml # Resources/Prototypes/Research/industrial.yml # Resources/Prototypes/Voice/speech_emotes.yml # Resources/Prototypes/ai_factions.yml # Resources/toolshedEngineCommandPerms.yml
21 lines
662 B
YAML
21 lines
662 B
YAML
name: RGA schema validator
|
|
on:
|
|
push:
|
|
branches: [ master, staging, stable ]
|
|
merge_group:
|
|
pull_request:
|
|
types: [ opened, reopened, synchronize, ready_for_review ]
|
|
|
|
jobs:
|
|
yaml-schema-validation:
|
|
name: YAML RGA schema validator
|
|
if: github.actor != 'GayBot' && github.event.pull_request.draft == false
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- uses: actions/checkout@v3.6.0
|
|
- uses: PaulRitter/yaml-schema-validator@v1
|
|
with:
|
|
schema: Tools/Schemas/rga.yml
|
|
path_pattern: .*attributions.ya?ml$
|
|
validators_path: Tools/Schemas/rga_validators.py
|
|
validators_requirements: Tools/Schemas/rga_requirements.txt
|