diff --git a/.github/workflows/pre-commit-hook-run.yml b/.github/workflows/pre-commit-hook-run.yml index a5a22bb2d..bf7b52366 100644 --- a/.github/workflows/pre-commit-hook-run.yml +++ b/.github/workflows/pre-commit-hook-run.yml @@ -18,6 +18,6 @@ jobs: uses: actions/setup-node@v1 with: node-version: 16 - - run: git init && git add --all && git -c user.name='test' -c user.email='test@example.com' commit -m 'init for pr action' + - run: rm -rf .git && git init && git add --all && git -c user.name='test' -c user.email='test@example.com' commit -m 'init for pr action' - run: npm i --force && cd test/with-typescript && npm i --force - run: ./hooks/pre-commit.sh