ci: Fix non-pullrequests events by specifying 'base' field (2nd try)

This commit is contained in:
Riccardo Schirone 2021-08-17 16:00:21 +02:00
parent 7bff56b897
commit dce349dc72

View file

@ -28,22 +28,6 @@ jobs:
- uses: actions/checkout@v2
- uses: dorny/paths-filter@v2
id: filter
if: github.event_name == 'pull_request'
with:
filters: |
edited:
- '**.c'
- '**.h'
- '**.in'
- '**.inc'
- '**/meson.build'
- 'shlr/rizin-shell-parser/**'
- 'subprojects/**'
- '.github/workflows/ci.yml'
- 'test/**'
- uses: dorny/paths-filter@v2
id: filter
if: github.event_name != 'pull_request'
with:
base: ${{ github.ref }}
filters: |