From 23927ff56457de71d33965056d7af8eabd0af5ce Mon Sep 17 00:00:00 2001 From: Phan Anh Tuan Date: Wed, 6 Sep 2023 13:50:44 +0700 Subject: [PATCH] fix: update ci for hasura build --- .github/workflows/ci.yml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 538c99c9a..393ec45fe 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -29,10 +29,11 @@ jobs: check-hasura-metadata: runs-on: [ubuntu-latest] steps: - - uses: actions/checkout@v4 + - uses: actions/checkout@v3 + with: + fetch-depth: 2 - name: Check hasura changes run: | - git status CURRENT_COMMIT=$(git rev-parse HEAD) STATUS=`git diff HEAD^ HEAD hasura` NUMBER_CHANGES=${#STATUS}