diff --git a/.github/workflows/merge-to-main.yml b/.github/workflows/merge-to-main.yml index 0aeea5a..17b1399 100644 --- a/.github/workflows/merge-to-main.yml +++ b/.github/workflows/merge-to-main.yml @@ -10,6 +10,8 @@ jobs: steps: - name: Check out repository code uses: actions/checkout@v3 + with: + fetch-depth: 0 - name: Setup Python uses: actions/setup-python@v4 with: diff --git a/.github/workflows/pull-request.yml b/.github/workflows/pull-request.yml index e826674..43144b9 100644 --- a/.github/workflows/pull-request.yml +++ b/.github/workflows/pull-request.yml @@ -16,6 +16,7 @@ jobs: uses: actions/checkout@v3 with: ref: ${{ github.event.pull_request.head.sha }} + fetch-depth: 0 - name: Setup Python uses: actions/setup-python@v4 with: