From 9c60c8c8cba975a62ef9ed5647feffe74599e1cc Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jo=C3=A3o=20Gustavo=20A=2E=20Amorim?= Date: Sat, 3 Feb 2024 13:55:39 -0300 Subject: [PATCH] add `fetch-depth` to env --- .github/actions/env/action.yml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.github/actions/env/action.yml b/.github/actions/env/action.yml index bd2ef8c..835969b 100644 --- a/.github/actions/env/action.yml +++ b/.github/actions/env/action.yml @@ -16,6 +16,9 @@ inputs: ref: default: ${{ github.sha }} + fetch-depth: + default: 1 + extra-deps: description: "Dependencies to be installed manually before installing kornia." default: "" @@ -29,6 +32,7 @@ runs: with: repository: kornia/kornia ref: ${{ inputs.ref }} + fetch-depth: ${{ inputs.fetch-depth }} - name: Setup environment uses: actions/setup-python@v4