Update events.yml #105
Workflow file for this run
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: YML Ingegrity | |
on: | |
push: | |
branches: | |
- master | |
pull_request: # Run in every PR | |
workflow_dispatch: # Allow manually triggering the workflow | |
concurrency: | |
group: >- | |
${{ github.workflow }}-${{ github.ref_type }}- | |
${{ github.event.pull_request.number || github.sha }} | |
cancel-in-progress: true | |
jobs: | |
yml_check: | |
name: YML Integrity | |
runs-on: ubuntu-latest | |
steps: | |
- name: checkout | |
uses: actions/checkout@v4 | |
- name: "setup python" | |
uses: actions/setup-python@v5 | |
with: | |
python-version: '3.x' | |
- name: "install dependencies" | |
run: | | |
python -m pip install --upgrade pip | |
pip install schema pyyaml | |
if [ -f requirements.txt ]; then pip install -r requirements.txt; fi | |
- name: Run python file | |
run: python check_yml_integrity.py |