Validate Regex #38
This file contains hidden or 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: Validate Regex | |
on: | |
schedule: | |
- cron: '0 7 * * *' | |
workflow_dispatch: | |
push: | |
branches: [ main ] | |
paths: | |
- 'dojo.yml' | |
- '**/module.yml' | |
pull_request: | |
branches: [ main ] | |
jobs: | |
validate-names: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Check out repository | |
uses: actions/checkout@v3 | |
- name: Set up Python | |
uses: actions/setup-python@v4 | |
with: | |
python-version: '3.x' | |
- name: Install PyYAML | |
run: pip install pyyaml | |
- name: Run Naming Validation | |
run: python .github/scripts/validate_names.py |