From 8fe7be3fc0f77da40a19bf948a0d857644c63f9c Mon Sep 17 00:00:00 2001 From: Rizel Scarlett Date: Wed, 12 Nov 2025 20:17:43 -0500 Subject: [PATCH] Fix documentation-only change detection for push events (#5712) --- .github/workflows/pr-smoke-test.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.github/workflows/pr-smoke-test.yml b/.github/workflows/pr-smoke-test.yml index 124c0fcb45..af1100bb83 100644 --- a/.github/workflows/pr-smoke-test.yml +++ b/.github/workflows/pr-smoke-test.yml @@ -33,11 +33,13 @@ jobs: uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # pin@v4 with: ref: ${{ github.event.inputs.branch || github.ref }} + fetch-depth: 0 - name: Check for code changes uses: dorny/paths-filter@de90cc6fb38fc0963ad72b210f1f284cd68cea36 # pin@v3 id: filter with: + base: ${{ github.event.before || github.event.pull_request.base.sha }} filters: | code: - '!documentation/**'