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}