From fa6e52441281df8cd8df2375304cb42508dc8c40 Mon Sep 17 00:00:00 2001 From: Consolatis <35009135+Consolatis@users.noreply.github.com> Date: Tue, 4 Feb 2025 22:10:59 +0100 Subject: [PATCH] CI: restrict build jobs to code changes --- .github/workflows/build.yml | 13 ++++++++++++- 1 file changed, 12 insertions(+), 1 deletion(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 81a1da04..39279d99 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -8,7 +8,18 @@ # https://docs.voidlinux.org/xbps/repositories/mirrors/changing.html name: CI -on: [pull_request] + +on: + pull_request: + paths: + - 'meson.build' + - 'meson_options.txt' + - 'src/**' + - 'include/**' + - 'protocols/**' + - 'scripts/**' + - '.github/workflows/**' + jobs: codestyle: name: CodeStyleCheck -- 2.52.0