We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 118284b commit 28edabaCopy full SHA for 28edaba
1 file changed
.github/workflows/run_tests_coverage.yml
@@ -293,8 +293,8 @@ jobs:
293
git fetch origin $BRANCH_NAME || true
294
git checkout $BRANCH_NAME || git checkout -b $BRANCH_NAME
295
296
- # Remove all files from the branch:
297
- git rm -rf .
+ # Remove all directories except .github and .git from branch:
+ find . -mindepth 1 -maxdepth 1 -type d -not -name '.github' -not -name '.git' -exec git rm -rf {} +
298
else
299
BRANCH_NAME="main"
300
fi
0 commit comments