Merge pull request #392 from axif0/workflow_error #30
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: Check Project Structure | |
on: | |
push: | |
branches: [main] | |
pull_request: | |
branches: [main] | |
types: [opened, reopened, synchronize] | |
jobs: | |
structure-check: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout repository | |
uses: actions/checkout@v4 | |
- name: Run check_project_structure.py | |
working-directory: ./src/scribe_data/check | |
run: python check_project_structure.py | |
- name: Post-run status | |
if: failure() | |
run: echo "Project structure check failed. Please fix the reported errors." |