diff --git a/.github/workflows/run-test.yml b/.github/workflows/run-test.yml index eaf19106..a2f7ff7a 100644 --- a/.github/workflows/run-test.yml +++ b/.github/workflows/run-test.yml @@ -14,10 +14,13 @@ jobs: steps: - name: Checkout uses: actions/checkout@v3 + with: + fetch-depth: 0 - name: retag latest commit for testing run: | git config user.name 'github-actions' git config user.email '41898282+github-actions[bot]@users.noreply.github.com' + git tag --delete latest || true git push --delete origin latest || true git tag -a latest -m 'Retag latest commit' git push origin latest