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 authored Mar 27, 2024
1 parent 1e7b473 commit f06e5d3
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions .github/workflows/driver-api-version.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,11 @@ name: Driver API_VERSION checks
on:
pull_request_target:
paths:
- 'driver/ppm_fillers.c'
- 'driver/bpf/fillers.h'
- 'userspace/libscap/engine/{bpf,kmod,modern_bpf}/**'
- 'driver/ppm_events_public.h'
- 'driver/bpf/maps.h'
- 'driver/modern_bpf/maps/maps.h'


jobs:
paths-filter:
Expand Down

0 comments on commit f06e5d3

Please sign in to comment.