Fix documentation-only change detection for push events (#5712)

This commit is contained in:
Rizel Scarlett
2025-11-12 20:17:43 -05:00
committed by GitHub
parent e1b5af53c3
commit 8fe7be3fc0
+2
View File
@@ -33,11 +33,13 @@ jobs:
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # pin@v4 uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # pin@v4
with: with:
ref: ${{ github.event.inputs.branch || github.ref }} ref: ${{ github.event.inputs.branch || github.ref }}
fetch-depth: 0
- name: Check for code changes - name: Check for code changes
uses: dorny/paths-filter@de90cc6fb38fc0963ad72b210f1f284cd68cea36 # pin@v3 uses: dorny/paths-filter@de90cc6fb38fc0963ad72b210f1f284cd68cea36 # pin@v3
id: filter id: filter
with: with:
base: ${{ github.event.before || github.event.pull_request.base.sha }}
filters: | filters: |
code: code:
- '!documentation/**' - '!documentation/**'