diff --git a/.github/workflows/tests_check.yml b/.github/workflows/tests_check.yml index 7398cc0c..9df1689e 100644 --- a/.github/workflows/tests_check.yml +++ b/.github/workflows/tests_check.yml @@ -15,7 +15,7 @@ jobs: - name: Check for changes in test directory id: check-tests run: | - git diff --name-only origin/${{ github.base_ref }}..woltapp/${{ github.head_ref }} > changed_files.txt + git diff --name-only woltapp/${{ github.base_ref }}..origin/${{ github.head_ref }} > changed_files.txt if grep -q "^test/" changed_files.txt; then echo "Tests found in the PR" echo "tests_present=true" >> $GITHUB_OUTPUT