Skip to content

Commit 8e610d9

Browse files
fix the changes collection
1 parent ab1c442 commit 8e610d9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/run-new-tests-check.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ jobs:
3838
run: |
3939
BASE_REF="${{ inputs.base_ref || 'main' }}"
4040
git fetch origin "$BASE_REF"
41-
NEW_TESTS=$(git diff --name-only --diff-filter=ACMR "$BASE_REF"...HEAD -- tests/ || echo '')
41+
NEW_TESTS=$(git diff --name-only --diff-filter=ACMR origin/"$BASE_REF"...HEAD -- tests/ || echo '')
4242
4343
if [ -z "$NEW_TESTS" ]; then
4444
echo "No new or changed tests found"

0 commit comments

Comments
 (0)