github: limit paths for style workflow

Signed-off-by: Ahmad Khalifa <ahmadkhalifa570@gmail.com>
Reviewed by: imp
Pull Request: https://github.com/freebsd/freebsd-src/pull/1538
This commit is contained in:
Ahmad Khalifa
2024-12-01 18:23:30 +02:00
committed by Warner Losh
parent e0231d3cd3
commit 5889ab4b1c
+1
View File
@@ -6,6 +6,7 @@ on:
pull_request: # maybe pull_request_target
branches: [ main ]
types: [ opened, reopened, edited, synchronize ]
paths: [ '**.S', '**.c', '**.cc', '**.cpp', '**.h', '**.hh', '**.hpp' ]
permissions:
contents: read