Fix documentation-only change detection for push events (#5712)
This commit is contained in:
@@ -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/**'
|
||||||
|
|||||||
Reference in New Issue
Block a user