From 1c1bbb8af78ae1fdaf886e5a699c5df5e458a19e Mon Sep 17 00:00:00 2001 From: Robert Dailey Date: Fri, 28 Oct 2022 10:32:35 -0500 Subject: [PATCH] ci: Use specific paths in build.yml This is to avoid superfluous builds --- .github/workflows/build.yml | 21 +++++++++++++++------ 1 file changed, 15 insertions(+), 6 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 2c5e28ea..f4fdf5d0 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -3,13 +3,22 @@ name: Build & Test on: push: - paths-ignore: - - "wiki/**" - - "**.md" + paths: + - ".github/workflows/build.yml" + - ".github/workflows/docker.yml" + - "src/**" + - "schemas/**" + - "docker/**" + - "ci/**" + pull_request: - paths-ignore: - - "wiki/**" - - "**.md" + paths: + - ".github/workflows/build.yml" + - ".github/workflows/docker.yml" + - "src/**" + - "schemas/**" + - "docker/**" + - "ci/**" env: dotnetVersion: "6.0.x"