Skip to content

[Work In Progress] Frankenstein (SS220 Box) #170

[Work In Progress] Frankenstein (SS220 Box)

[Work In Progress] Frankenstein (SS220 Box) #170

Workflow file for this run

name: RSI Validator
on:
push:
branches: [ staging, trying ]
merge_group:
pull_request:
paths:
- '**.rsi/**'
jobs:
validate_rsis:
name: Validate RSIs
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Setup Submodule
run: git submodule update --init
# Corvax-Secrets-Start
- name: Setup secrets
env:
SSH_KEY: ${{ secrets.SECRETS_PRIVATE_KEY }}
if: ${{ env.SSH_KEY != '' }}
run: |
mkdir ~/.ssh
echo "${{ secrets.SECRETS_PRIVATE_KEY }}" > ~/.ssh/id_rsa
chmod 600 ~/.ssh/id_rsa
echo "HOST *" > ~/.ssh/config
echo "StrictHostKeyChecking no" >> ~/.ssh/config
git -c submodule.Secrets.update=checkout submodule update --init
# Corvax-Secrets-End
- name: Pull engine updates
uses: space-wizards/[email protected]
- name: Install Python dependencies
run: |
pip3 install --ignore-installed --user pillow jsonschema
- name: Validate RSIs
# Schema fork for SS220 CLA addition
run: |
python3 Schemas/validate_rsis.py Resources/