summaryrefslogtreecommitdiff
path: root/.github
diff options
context:
space:
mode:
authorAhmad Khalifa <ahmadkhalifa570@gmail.com>2024-12-01 18:23:30 +0200
committerWarner Losh <imp@FreeBSD.org>2024-12-05 17:59:51 -0700
commit5889ab4b1c79e9714390b65ef60a9d634e7ab45d (patch)
tree9b662a0f4980b7f56c41c951eb88777e9f7f662f /.github
parente0231d3cd363bb33142270315aa817977b632910 (diff)
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
Diffstat (limited to '.github')
-rw-r--r--.github/workflows/style.yml1
1 files changed, 1 insertions, 0 deletions
diff --git a/.github/workflows/style.yml b/.github/workflows/style.yml
index 0e7c1d8ca6d8..da7032e03eae 100644
--- a/.github/workflows/style.yml
+++ b/.github/workflows/style.yml
@@ -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