diff --git a/.github/workflows/release-pr.yml b/.github/workflows/release-pr.yml index d88e112517..c4221a47a7 100644 --- a/.github/workflows/release-pr.yml +++ b/.github/workflows/release-pr.yml @@ -28,7 +28,7 @@ jobs: - uses: actions/checkout@v3 with: - ref: ${{ github.event.issue.pull_request.head.ref }} + ref: refs/pull/${{ github.event.issue.number }}/merge fetch-depth: 0 - run: corepack enable