diff --git a/.github/workflows/38-get-pr-number-on-push-event.yml b/.github/workflows/38-get-pr-number-on-push-event.yml index 3952eaa5f5..b8be16b6e2 100644 --- a/.github/workflows/38-get-pr-number-on-push-event.yml +++ b/.github/workflows/38-get-pr-number-on-push-event.yml @@ -7,6 +7,9 @@ jobs: runs-on: ubuntu-latest if: ${{ github.event_name == 'push' }} steps: + - uses: actions/checkout@2.3.4 + with: + fetch-depth: 0 - name: Get Pull Request Number id: pr run: echo "::set-output name=pull_request_number::$(gh pr view --json number -q .number || echo "")"