diff --git a/.github/workflows/pr-smoke-test.yml b/.github/workflows/pr-smoke-test.yml index 124c0fcb4511..af1100bb83fa 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/**'