fix usage for paths-filter in merge_group

This commit is contained in:
David Hewitt 2023-06-06 08:07:19 +01:00
parent 342e4ca678
commit 05b97dd964
1 changed files with 2 additions and 0 deletions

View File

@ -125,6 +125,8 @@ jobs:
if: ${{ inputs.rust == 'stable' && inputs.python-version != 'pypy-3.7' && inputs.python-version != 'pypy-3.8' }}
id: ffi-changes
with:
base: ${{ github.event.pull_request.base.ref || github.event.merge_group.base_ref }}
ref: ${{ github.event.pull_request.head.ref || github.event.merge_group.head_ref }}
filters: |
changed:
- 'pyo3-ffi/**'