From 64831a19b0a127d5f41f77d195806df7e76a0cfd Mon Sep 17 00:00:00 2001 From: Viet Dinh <54ckb0y789@gmail.com> Date: Mon, 21 Aug 2023 08:08:43 -0400 Subject: [PATCH] ci: attempt to fix check --- .github/workflows/rust.yml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/.github/workflows/rust.yml b/.github/workflows/rust.yml index 3219e50..ffd4fce 100644 --- a/.github/workflows/rust.yml +++ b/.github/workflows/rust.yml @@ -18,12 +18,13 @@ jobs: skip: ${{ steps.check_changes.outputs.skip }} steps: - name: Checkout code - uses: actions/checkout@v2 + uses: actions/checkout@v3 + with: + fetch-depth: 0 - name: Check for changes id: check_changes run: | - git fetch --depth=1 origin +refs/heads/*:refs/remotes/origin/* if [ "$(git log $(git describe --tags --abbrev=0)..HEAD --oneline)" = "" ]; then echo "skip=true" >> "$GITHUB_OUTPUT" fi