mirror of
https://github.com/abap2UI5/abap2UI5.git
synced 2025-04-29 02:58:20 +08:00
update github actions
This commit is contained in:
parent
24d9ef53dc
commit
73d964e9cb
21
.github/workflows/app_test.yaml
vendored
Normal file
21
.github/workflows/app_test.yaml
vendored
Normal 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
|
Loading…
Reference in New Issue
Block a user