update github actions

This commit is contained in:
oblomov-dev 2025-02-19 13:47:55 +00:00 committed by GitHub
parent 24d9ef53dc
commit 73d964e9cb
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
6 changed files with 21 additions and 0 deletions

21
.github/workflows/app_test.yaml vendored Normal file
View File

@ -0,0 +1,21 @@
name: test_app
on:
pull_request:
types: [opened, synchronize]
jobs:
test_app:
runs-on: ubuntu-latest
steps:
- name: Checkout Repository
uses: actions/checkout@v3
- name: Check for changes in src/01/03
run: |
if git diff --name-only origin/main | grep '^src/01/03/'; then
echo "Error: Changes detected in src/01/03. This directory should not be modified. Files will be auto generated. Change files in folder app/ instead. "
exit 1
else
echo "No changes detected in src/01/03."
fi