Skip to content

Commit f9852ae

Browse files
committed
build: delete all files from PR coverage branch after checkout
1 parent 9685979 commit f9852ae

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

.github/workflows/run_tests_coverage.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -292,6 +292,9 @@ jobs:
292292
BRANCH_NAME="pr-${{ github.event.pull_request.number }}"
293293
git fetch origin $BRANCH_NAME || true
294294
git checkout $BRANCH_NAME || git checkout -b $BRANCH_NAME
295+
296+
# Remove all files from the branch:
297+
git rm -rf .
295298
else
296299
BRANCH_NAME="main"
297300
fi

0 commit comments

Comments
 (0)