Skip to content

Commit

Permalink
chore: Update test.yml to handle changes in client/apps/ directory
Browse files Browse the repository at this point in the history
  • Loading branch information
Noggling committed Sep 11, 2024
1 parent 735a5ee commit 7e34f15
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,10 @@ jobs:
steps:
- name: Check Changed Files
run: |
if git diff --no-index --name-only ${{ github.base_ref }}...${{ github.head_ref }} | grep -q "^client/apps/"; then
echo "Files in client/apps/ have changed"
if git diff --no-index --name-only ${{ github.ref }}...${{ github.head_ref }} | grep -q "^client/apps/"; then
echo "Files in client/apps/ have changed"
else
echo "No files in client/apps/ have changed"
echo "No files in client/apps/ have changed"
fi
echo "Current branch: ${{ github.ref }}"
echo "Base branch: ${{ github.base_ref }}"

0 comments on commit 7e34f15

Please sign in to comment.