From 1b81f7d1e2d262baba4296663cc66ff3b0c21e6f Mon Sep 17 00:00:00 2001 From: k4yt3x Date: Thu, 7 Nov 2024 00:00:00 +0000 Subject: [PATCH] ci(build): make the build pipeline only run on code changes Signed-off-by: k4yt3x --- .github/workflows/build.yml | 15 +++++++++++---- 1 file changed, 11 insertions(+), 4 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index e1ea661..7a9dcfd 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -1,10 +1,17 @@ name: Build on: push: - branches: - - master - - dev - pull_request: {} + paths: + - "include/**" + - "src/**" + - "third_party/**" + - "CMakeLists.txt" + pull_request: + paths: + - "include/**" + - "src/**" + - "third_party/**" + - "CMakeLists.txt" workflow_dispatch: {} jobs: