From 2ea1674fa23aa77cb5635cd0fd962f6a53db498c Mon Sep 17 00:00:00 2001 From: "praveenkrishna.d" Date: Fri, 24 Oct 2025 21:53:54 +0530 Subject: [PATCH] Checkout repo before running path-filter job --- .github/workflows/ci.yml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index cc81b2c196a0..8623fafe9d75 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -53,6 +53,12 @@ jobs: docs: ${{ steps.filter.outputs.docs }} non_docs: ${{ steps.filter.outputs.non_docs }} steps: + - uses: actions/checkout@v5 + with: + ref: | + ${{ github.event_name == 'repository_dispatch' && + github.event.client_payload.pull_request.head.sha == github.event.client_payload.slash_command.args.named.sha && + format('refs/pull/{0}/head', github.event.client_payload.pull_request.number) || '' }} - uses: dorny/paths-filter@de90cc6fb38fc0963ad72b210f1f284cd68cea36 # v3 id: filter with: