From e347ff2ddef472c175987e59b34b2fb890a30dcd Mon Sep 17 00:00:00 2001 From: Wing-Kam Wong Date: Wed, 19 Jul 2023 13:36:15 +0800 Subject: [PATCH] fix(workflows): add missing checkout --- .github/workflows/release-pr.yml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/.github/workflows/release-pr.yml b/.github/workflows/release-pr.yml index 86da07b0ef..99cfd3569c 100644 --- a/.github/workflows/release-pr.yml +++ b/.github/workflows/release-pr.yml @@ -24,6 +24,11 @@ jobs: if: ${{ github.event.pull_request.head.repo.full_name == github.repository && github.actor != 'dependabot[bot]' && github.event.pull_request.draft == false && github.base_ref == 'develop' && github.event.action != 'closed' }} runs-on: 'ubuntu-latest' steps: + - name: Checkout + uses: actions/checkout@v3 + with: + fetch-depth: 1 + ref: ${{ github.ref }} - name: set-tag id: tag-step run: |