mirror of
https://github.com/block/goose.git
synced 2026-07-17 12:56:20 +02:00
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
|
||||
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/**'
|
||||
|
||||
Reference in New Issue
Block a user