From 330ca9b2af1ff36d1678ea5360cbd675d447999f Mon Sep 17 00:00:00 2001 From: piquark6046 Date: Mon, 20 Nov 2023 07:22:26 +0000 Subject: [PATCH] fix: actions/checkout does not clone all history --- action.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/action.yml b/action.yml index 83e0e60..c732614 100644 --- a/action.yml +++ b/action.yml @@ -34,6 +34,8 @@ runs: working-directory: ${{ github.action_path }} - name: Clone repo into github.workspace uses: actions/checkout@v4 + with: + fetch-depth: 0 if: ${{ steps.check_size.outputs.should_api != 'true' }} - name: Run program env: