diff --git a/.github/workflows/ci-planning.yml b/.github/workflows/ci-planning.yml index a1b4325341f6..c97d455f6035 100644 --- a/.github/workflows/ci-planning.yml +++ b/.github/workflows/ci-planning.yml @@ -99,6 +99,13 @@ jobs: permissions: pull-requests: read steps: + - name: Check out base commit (${{ github.event.pull_request.base.sha }}) + uses: actions/checkout@v7 + if: github.event_name == 'pull_request' + with: + ref: ${{ github.event.pull_request.base.sha }} + persist-credentials: false + - name: Check out current commit uses: actions/checkout@v7 with: