Skip to content

Commit

Permalink
chore(.github): new heuristics for API_VERSION checks
Browse files Browse the repository at this point in the history
Fillers were removed because they are usually related to the SCHEMA_VERSION.
`ppm_events_public.h` was added due to IOCTL codes.
Also, the addition of bpf maps usually affects the API.

Signed-off-by: Leonardo Grasso <me@leonardograsso.com>
  • Loading branch information
leogr committed Mar 27, 2024
1 parent 1e7b473 commit da8e8cb
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions .github/workflows/driver-api-version.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,13 @@ name: Driver API_VERSION checks
on:
pull_request_target:
paths:
- 'driver/ppm_fillers.c'
- 'driver/bpf/fillers.h'
- 'userspace/libscap/engine/bpf/**'
- 'userspace/libscap/engine/modern_bpf/**'
- 'userspace/libscap/engine/kmod/**'
- 'driver/ppm_events_public.h'
- 'driver/bpf/maps.h'
- 'driver/modern_bpf/maps/maps.h'


jobs:
paths-filter:
Expand Down

0 comments on commit da8e8cb

Please sign in to comment.