diff --git a/.github/workflows/trigger_release.yml b/.github/workflows/trigger_release.yml index 9c9a5b896edf3..559f62b04675b 100644 --- a/.github/workflows/trigger_release.yml +++ b/.github/workflows/trigger_release.yml @@ -50,7 +50,9 @@ jobs: node-version: 18 check-latest: true - - run: git clone https://github.com/vercel/next.js.git --depth=25 . + - uses: actions/checkout@v3 + with: + fetch-depth: 25 - name: Get commit of the latest tag run: echo "LATEST_TAG_COMMIT=$(git rev-list -n 1 $(git describe --tags --abbrev=0))" >> $GITHUB_ENV